From b2b00358e80ea6a0a9f24211411717e1bddd3bd7 Mon Sep 17 00:00:00 2001 From: Spencer Baugh Date: Thu, 28 Dec 2017 17:56:52 +0000 Subject: [PATCH] pythonPackages.supervise_api: fix deps on Python 2 --- pkgs/development/python-modules/supervise_api/default.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/supervise_api/default.nix b/pkgs/development/python-modules/supervise_api/default.nix index 85f0106db65d..99c6dfaf9397 100644 --- a/pkgs/development/python-modules/supervise_api/default.nix +++ b/pkgs/development/python-modules/supervise_api/default.nix @@ -2,6 +2,8 @@ , buildPythonPackage , fetchPypi , supervise +, isPy3k +, whichcraft }: buildPythonPackage rec { @@ -15,7 +17,11 @@ buildPythonPackage rec { sha256 = "e6982633a924cb5192d2291d25b366ff311876a31b0f5961471b39d87397ef5b"; }; - propagatedBuildInputs = [ supervise ]; + propagatedBuildInputs = [ + supervise + ] ++ lib.optionals ( !isPy3k ) [ + whichcraft + ]; # no tests doCheck = false;