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

32 lines
567 B
Nix

{ stdenv
, buildPythonPackage
, fetchPypi
, nose
}:
buildPythonPackage rec {
version = "0.1.2";
pname = "forbiddenfruit";
src = fetchPypi {
inherit pname version;
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;
};
}