Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / hpack / default.nix
blob1b45fc67d62ee60c814d1b49fa5f3055af3e7a43
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pythonOlder
5 , hypothesis
6 , pytestCheckHook
7 }:
9 buildPythonPackage rec {
10   pname = "hpack";
11   version = "4.0.0";
12   format = "setuptools";
13   disabled = pythonOlder "3.6";
15   src = fetchFromGitHub {
16     owner = "python-hyper";
17     repo = "hpack";
18     rev = "v${version}";
19     hash = "sha256-2CehGy3K5fKbkB1J8+8x1D4XvnBn1Mbapx+p8rdXDYc=";
20   };
22   nativeCheckInputs = [
23     hypothesis
24     pytestCheckHook
25   ];
27   pythonImportsCheck = [ "hpack" ];
29   meta = with lib; {
30     description = "Pure-Python HPACK header compression";
31     homepage = "https://github.com/python-hyper/hpack";
32     license = licenses.mit;
33     maintainers = with maintainers; [ ];
34   };