diff options
author | Robert Schütz <robert.schuetz@stud.uni-heidelberg.de> | 2018-12-02 22:34:27 +0100 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2018-12-03 16:50:41 +0100 |
commit | 5e013d2429ff46f9305a5e6d51cd93ac666f9839 (patch) | |
tree | b7a0d0e2b5024095912b747819346aae14fd9095 /pkgs/development/python-modules/forbiddenfruit | |
parent | a568a9e79b2c4087ef854342cf14afe12335d1a8 (diff) |
python.pkgs.forbiddenfruit: disable tests because they are missing in tarball
Diffstat (limited to 'pkgs/development/python-modules/forbiddenfruit')
-rw-r--r-- | pkgs/development/python-modules/forbiddenfruit/default.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/forbiddenfruit/default.nix b/pkgs/development/python-modules/forbiddenfruit/default.nix index 5686cb699213e..fe7518dc29edf 100644 --- a/pkgs/development/python-modules/forbiddenfruit/default.nix +++ b/pkgs/development/python-modules/forbiddenfruit/default.nix @@ -1,6 +1,7 @@ { stdenv , buildPythonPackage , fetchPypi +, nose }: buildPythonPackage rec { @@ -12,6 +13,15 @@ buildPythonPackage rec { sha256 = "09ee1959fa34936c15417defa28bfd09cf88ad54c15454bc863d465ed42b8922"; }; + checkInputs = [ nose ]; + + checkPhase = '' + nosetests + ''; + + # tests directory missing in PyPI tarball + doCheck = false; + meta = with stdenv.lib; { description = "Patch python built-in objects"; homepage = https://pypi.python.org/pypi/forbiddenfruit; |