From 5e013d2429ff46f9305a5e6d51cd93ac666f9839 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sun, 2 Dec 2018 22:34:27 +0100 Subject: [PATCH] python.pkgs.forbiddenfruit: disable tests because they are missing in tarball --- .../python-modules/forbiddenfruit/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) 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;