python.pkgs.forbiddenfruit: 0.1.2 -> 0.1.3 (#60065)

This commit is contained in:
Robert Schütz 2019-04-23 10:47:39 +02:00 committed by GitHub
parent bdf070fe2a
commit daaf50fbdf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,23 +5,21 @@
}:
buildPythonPackage rec {
version = "0.1.2";
version = "0.1.3";
pname = "forbiddenfruit";
src = fetchPypi {
inherit pname version;
sha256 = "09ee1959fa34936c15417defa28bfd09cf88ad54c15454bc863d465ed42b8922";
sha256 = "1188a07cc24a9bd2c529dad06490b80a6fc88cde968af4d7861da81686b2cc8c";
};
checkInputs = [ nose ];
checkPhase = ''
find ./build -name '*.so' -exec mv {} tests/unit \;
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;