python.pkgs.trustme: fix python2 build

This commit is contained in:
Orivej Desh 2018-06-04 04:06:09 +00:00
parent 6db9f4685a
commit 1c7acb09fa

View File

@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchPypi, cryptography, pytest, pyopenssl, service-identity }:
{ lib, buildPythonPackage, fetchPypi, isPy3k, cryptography, futures, pytest, pyopenssl, service-identity }:
buildPythonPackage rec {
pname = "trustme";
@ -15,6 +15,8 @@ buildPythonPackage rec {
'';
propagatedBuildInputs = [
cryptography
] ++ lib.optionals (!isPy3k) [
futures
];
meta = {