at 24.11-pre 709 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pythonOlder, 6 hypothesis, 7 pytestCheckHook, 8}: 9 10buildPythonPackage rec { 11 pname = "hpack"; 12 version = "4.0.0"; 13 format = "setuptools"; 14 disabled = pythonOlder "3.6"; 15 16 src = fetchFromGitHub { 17 owner = "python-hyper"; 18 repo = "hpack"; 19 rev = "v${version}"; 20 hash = "sha256-2CehGy3K5fKbkB1J8+8x1D4XvnBn1Mbapx+p8rdXDYc="; 21 }; 22 23 nativeCheckInputs = [ 24 hypothesis 25 pytestCheckHook 26 ]; 27 28 pythonImportsCheck = [ "hpack" ]; 29 30 meta = with lib; { 31 description = "Pure-Python HPACK header compression"; 32 homepage = "https://github.com/python-hyper/hpack"; 33 license = licenses.mit; 34 maintainers = with maintainers; [ ]; 35 }; 36}