From 1c7acb09fa50b122ba6df52da2bc03e2aa0450d8 Mon Sep 17 00:00:00 2001 From: Orivej Desh Date: Mon, 4 Jun 2018 04:06:09 +0000 Subject: [PATCH] python.pkgs.trustme: fix python2 build --- pkgs/development/python-modules/trustme/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/trustme/default.nix b/pkgs/development/python-modules/trustme/default.nix index 0c3ccb5258e7..db966ed4421e 100644 --- a/pkgs/development/python-modules/trustme/default.nix +++ b/pkgs/development/python-modules/trustme/default.nix @@ -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 = {