python3Packages.ihatemoney: disable on python2

it does not build and is not supported according to setup.cfg
This commit is contained in:
Symphorien Gibol 2020-04-25 12:00:00 +00:00
parent 7761494be9
commit 4b819d443c

View file

@ -21,7 +21,6 @@
, jinja2
, Mako
, markupsafe
, mock
, python-dateutil
, pytz
, six
@ -44,6 +43,8 @@ buildPythonPackage rec {
sha256 = "0d4vc6m0jkwlz9ly0hcjghccydvqbldh2jb8yzf94jrgkd5fd7k1";
};
disabled = isPy27;
patches = [
# fix migration on postgresql
# remove on next release
@ -93,7 +94,7 @@ buildPythonPackage rec {
checkInputs = [
flask_testing
] ++ lib.optionals isPy27 [ mock ];
];
passthru.tests = {
inherit (nixosTests) ihatemoney;