3
0
Fork 0
forked from mirrors/nixpkgs

pythonPackages.http-ece: fix builds

This commit is contained in:
Jonathan Ringer 2020-06-16 14:01:20 -07:00
parent 974f594457
commit 1a230cfb20

View file

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