python.pkgs.forbiddenfruit: disable tests because they are missing in tarball
This commit is contained in:
parent
a568a9e79b
commit
5e013d2429
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user