python.pkgs.trustme: fix python2 build
This commit is contained in:
parent
6db9f4685a
commit
1c7acb09fa
@ -1,4 +1,4 @@
|
|||||||
{ lib, buildPythonPackage, fetchPypi, cryptography, pytest, pyopenssl, service-identity }:
|
{ lib, buildPythonPackage, fetchPypi, isPy3k, cryptography, futures, pytest, pyopenssl, service-identity }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "trustme";
|
pname = "trustme";
|
||||||
@ -15,6 +15,8 @@ buildPythonPackage rec {
|
|||||||
'';
|
'';
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
cryptography
|
cryptography
|
||||||
|
] ++ lib.optionals (!isPy3k) [
|
||||||
|
futures
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
Loading…
Reference in New Issue
Block a user