mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
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 {
|
||||
pname = "trustme";
|
||||
@ -15,6 +15,8 @@ buildPythonPackage rec {
|
||||
'';
|
||||
propagatedBuildInputs = [
|
||||
cryptography
|
||||
] ++ lib.optionals (!isPy3k) [
|
||||
futures
|
||||
];
|
||||
|
||||
meta = {
|
||||
|
Loading…
Reference in New Issue
Block a user