3
0
Fork 0
forked from mirrors/nixpkgs

python3Packages.h2: clean up

This commit is contained in:
Martin Weinelt 2021-06-19 13:57:09 +02:00
parent 5df091e391
commit 9bb53fbb8c

View file

@ -1,9 +1,19 @@
{ lib, buildPythonPackage, fetchPypi, fetchpatch
, enum34, hpack, hyperframe, pytestCheckHook, hypothesis }:
{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, fetchpatch
, hpack
, hyperframe
, pytestCheckHook
, hypothesis
}:
buildPythonPackage rec {
pname = "h2";
version = "4.0.0";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
@ -19,9 +29,20 @@ buildPythonPackage rec {
})
];
propagatedBuildInputs = [ enum34 hpack hyperframe ];
propagatedBuildInputs = [
hpack
hyperframe
];
checkInputs = [ pytestCheckHook hypothesis ];
checkInputs = [
pytestCheckHook
hypothesis
];
pythonImportCheck = [
"h2.connection"
"h2.config"
];
meta = with lib; {
description = "HTTP/2 State-Machine based protocol implementation";