diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 691876095ee5..009a1da60cd0 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -12952,8 +12952,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' @@ -12963,7 +12965,6 @@ in { meta = { homepage = http://pycurl.sourceforge.net/; description = "Python wrapper for libcurl"; - platforms = platforms.linux; }; });