3
0
Fork 0
forked from mirrors/nixpkgs

python39Packages.hpack: run tests, add SuperSandro2000 as maintainer

This commit is contained in:
Sandro Jäckel 2022-03-23 08:09:01 +01:00
parent 85a633de9f
commit a217922f79
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -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 ];
};
}