1{
2 lib,
3 fetchPypi,
4 buildPythonPackage,
5 setuptools,
6 pytestCheckHook,
7}:
8
9buildPythonPackage rec {
10 pname = "pylsqpack";
11 version = "0.3.22";
12 pyproject = true;
13
14 src = fetchPypi {
15 inherit pname version;
16 hash = "sha256-tn9xGzyDcNn0D39/U2qmAY2JAPoJ+kn3Lww/E4hs7No=";
17 };
18
19 build-system = [ setuptools ];
20
21 nativeCheckInputs = [ pytestCheckHook ];
22
23 pythonImportsCheck = [ "pylsqpack" ];
24
25 meta = with lib; {
26 description = "Python wrapper for the ls-qpack QPACK library";
27 homepage = "https://github.com/aiortc/pylsqpack";
28 license = licenses.bsd3;
29 maintainers = with maintainers; [ onny ];
30 };
31}