diff --git a/pkgs/development/python-modules/pylsqpack/default.nix b/pkgs/development/python-modules/pylsqpack/default.nix new file mode 100644 index 000000000000..0fbd7a757c00 --- /dev/null +++ b/pkgs/development/python-modules/pylsqpack/default.nix @@ -0,0 +1,26 @@ +{ lib +, fetchPypi +, buildPythonPackage +, pytestCheckHook +}: + +buildPythonPackage rec { + pname = "pylsqpack"; + version = "0.3.16"; + + src = fetchPypi { + inherit pname version; + sha256 = "sha256-tnps4/aTfYUGgYJ3FL5zCqNhwEnjd1Lj7Z3xHn8jL/s="; + }; + + checkInputs = [ pytestCheckHook ]; + + pythonImportsCheck = [ "pylsqpack" ]; + + meta = with lib; { + description = "Python wrapper for the ls-qpack QPACK library"; + homepage = "https://github.com/aiortc/pylsqpack"; + license = licenses.bsd3; + maintainers = with maintainers; [ onny ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index e0b322c2c638..69cab10e85ea 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -7888,6 +7888,8 @@ in { pylru = callPackage ../development/python-modules/pylru { }; + pylsqpack = callPackage ../development/python-modules/pylsqpack { }; + pyls-black = callPackage ../development/python-modules/pyls-black { }; pyls-flake8 = callPackage ../development/python-modules/pyls-flake8 { };