depot/third_party/nixpkgs/pkgs/development/python-modules/pylsqpack/default.nix

31 lines
639 B
Nix

{
lib,
fetchPypi,
buildPythonPackage,
setuptools,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "pylsqpack";
version = "0.3.18";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-Ra5V5yGHdQX01czUlZHWk1PypUioZz36+yUdOFs8CX8=";
};
nativeBuildInputs = [ setuptools ];
nativeCheckInputs = [ 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 ];
};
}