diff --git a/pkgs/development/python-modules/forbiddenfruit/default.nix b/pkgs/development/python-modules/forbiddenfruit/default.nix index 5686cb699213..fe7518dc29ed 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;