1{ lib 2, fetchPypi 3, buildPythonPackage 4, pytestCheckHook 5}: 6 7buildPythonPackage rec { 8 pname = "pylsqpack"; 9 version = "0.3.16"; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "sha256-tnps4/aTfYUGgYJ3FL5zCqNhwEnjd1Lj7Z3xHn8jL/s="; 14 }; 15 16 checkInputs = [ 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}