1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-20 04:48:10 +00:00
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;
};
}