diff options
author | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2022-03-23 08:09:01 +0100 |
---|---|---|
committer | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2022-03-23 08:09:01 +0100 |
commit | a217922f79689295097644e51581f4f9aeefa000 (patch) | |
tree | 8a87cf3b160d9d32bdbb809b80be0f40f71d38e3 /pkgs/development/python-modules/hpack | |
parent | 85a633de9fb69e1becebe8d69dbf8ad12b06e08d (diff) |
python39Packages.hpack: run tests, add SuperSandro2000 as maintainer
Diffstat (limited to 'pkgs/development/python-modules/hpack')
-rw-r--r-- | pkgs/development/python-modules/hpack/default.nix | 25 |
1 files changed, 19 insertions, 6 deletions
diff --git a/pkgs/development/python-modules/hpack/default.nix b/pkgs/development/python-modules/hpack/default.nix index a5140a216cfd3..842c6d5f8bfcb 100644 --- a/pkgs/development/python-modules/hpack/default.nix +++ b/pkgs/development/python-modules/hpack/default.nix @@ -1,21 +1,34 @@ { lib , buildPythonPackage -, fetchPypi +, fetchFromGitHub +, pythonOlder +, hypothesis +, pytestCheckHook }: buildPythonPackage rec { pname = "hpack"; version = "4.0.0"; + disabled = pythonOlder "3.6"; - src = fetchPypi { - inherit pname version; - sha256 = "fc41de0c63e687ebffde81187a948221294896f6bdc0ae2312708df339430095"; + 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 = "http://hyper.rtfd.org"; + homepage = "https://github.com/python-hyper/hpack"; license = licenses.mit; + maintainers = with maintainers; [ SuperSandro2000 ]; }; - } |