Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at python-updates 31 lines 632 B view raw
1{ 2 lib, 3 fetchPypi, 4 buildPythonPackage, 5 setuptools, 6 pytestCheckHook, 7}: 8 9buildPythonPackage rec { 10 pname = "pylsqpack"; 11 version = "0.3.23"; 12 pyproject = true; 13 14 src = fetchPypi { 15 inherit pname version; 16 hash = "sha256-9VsSaUDYsxVzMfEj1EKNcDppim22Wmp4kffsG5DIbFY="; 17 }; 18 19 build-system = [ setuptools ]; 20 21 nativeCheckInputs = [ pytestCheckHook ]; 22 23 pythonImportsCheck = [ "pylsqpack" ]; 24 25 meta = { 26 description = "Python wrapper for the ls-qpack QPACK library"; 27 homepage = "https://github.com/aiortc/pylsqpack"; 28 license = lib.licenses.bsd3; 29 maintainers = with lib.maintainers; [ onny ]; 30 }; 31}