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