1{ lib 2, fetchPypi 3, buildPythonPackage 4, pytestCheckHook 5}: 6 7buildPythonPackage rec { 8 pname = "pylsqpack"; 9 version = "0.3.17"; 10 11 src = fetchPypi { 12 inherit pname version; 13 hash = "sha256-LyB3jblW3H5LGop5ci1XpGUMRZl/tlwTUsv4XreqPOI="; 14 }; 15 16 nativeCheckInputs = [ pytestCheckHook ]; 17 18 pythonImportsCheck = [ "pylsqpack" ]; 19 20 meta = with lib; { 21 description = "Python wrapper for the ls-qpack QPACK library"; 22 homepage = "https://github.com/aiortc/pylsqpack"; 23 license = licenses.bsd3; 24 maintainers = with maintainers; [ onny ]; 25 }; 26}