My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/hpack/default.nix

34 lines
688 B

{ lib
, buildPythonPackage
, fetchFromGitHub
, pythonOlder
, hypothesis
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "hpack";
version = "4.0.0";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "python-hyper";
repo = "hpack";
rev = "v${version}";
sha256 = "sha256-2CehGy3K5fKbkB1J8+8x1D4XvnBn1Mbapx+p8rdXDYc=";
};
checkInputs = [
hypothesis
pytestCheckHook
];
pythonImportsCheck = [ "hpack" ];
meta = with lib; {
description = "Pure-Python HPACK header compression";
homepage = "https://github.com/python-hyper/hpack";
license = licenses.mit;
maintainers = with maintainers; [ SuperSandro2000 ];
};
}