3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/forbiddenfruit/default.nix

32 lines
567 B
Nix
Raw Normal View History

{ stdenv
, buildPythonPackage
, fetchPypi
, nose
}:
buildPythonPackage rec {
2018-11-04 10:34:59 +00:00
version = "0.1.2";
pname = "forbiddenfruit";
src = fetchPypi {
inherit pname version;
2018-11-04 10:34:59 +00:00
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;
license = licenses.mit;
};
}