From 42555f6c7dc88c014f0963d6c030f740526d5fbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josef=20Kemetm=C3=BCller?= Date: Wed, 14 Mar 2018 19:58:02 +0100 Subject: [PATCH] pythonPackages.pycurl: Fix darwin build --- pkgs/top-level/python-packages.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index dcbaabdc3342..1d892ce7c64a 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -13013,8 +13013,10 @@ in { buildInputs = with self; [ pkgs.curl pkgs.openssl.out ]; - # error: invalid command 'test' - doCheck = false; + checkInputs = with self; [ bottle pytest nose ]; + checkPhase = '' + py.test -k "not test_ssl_in_static_libs" tests + ''; preConfigure = '' substituteInPlace setup.py --replace '--static-libs' '--libs' @@ -13024,7 +13026,6 @@ in { meta = { homepage = http://pycurl.sourceforge.net/; description = "Python wrapper for libcurl"; - platforms = platforms.linux; }; });