pythonPackages.multidict: Fix the build and tests

(Was broken since 7ce848309e)
This commit is contained in:
Michael Weiss 2017-10-31 16:21:13 +01:00
parent 369056394f
commit 12c8a44972

View File

@ -1,9 +1,9 @@
{ lib
, fetchurl
, buildPythonPackage
, pytest
, cython
, pytest, psutil, pytestrunner
, isPy3k
, psutil
}:
let
@ -17,11 +17,8 @@ in buildPythonPackage rec {
sha256 = "e76909da2fad6966281d4e0e4ccfd3c3025699ebcc30806afa09fa1384c3532b";
};
checkInputs = [ pytest psutil ];
checkPhase = ''
py.test
'';
buildInputs = [ cython ];
checkInputs = [ pytest psutil pytestrunner ];
disabled = !isPy3k;
@ -30,4 +27,4 @@ in buildPythonPackage rec {
homepage = https://github.com/aio-libs/multidict/;
license = lib.licenses.asl20;
};
}
}