forked from mirrors/nixpkgs
pythonPackages.http-ece: fix builds
This commit is contained in:
parent
974f594457
commit
1a230cfb20
|
@ -1,5 +1,5 @@
|
|||
{ lib, fetchPypi, buildPythonPackage
|
||||
, coverage, flake8, mock, nose
|
||||
{ lib, fetchPypi, buildPythonPackage, pythonOlder
|
||||
, coverage, flake8, mock, nose, importlib-metadata
|
||||
, cryptography }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
|
@ -11,7 +11,8 @@ buildPythonPackage rec {
|
|||
sha256 = "1y5ln09ji4dwpzhxr77cggk02kghq7lql60a6969a5n2lwpvqblk";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ cryptography ];
|
||||
propagatedBuildInputs = [ cryptography ]
|
||||
++ lib.optionals (pythonOlder "3.8") [ importlib-metadata ];
|
||||
|
||||
checkInputs = [ coverage flake8 mock nose ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue