From 4b819d443c3a160aa2fe1bafad120045c7ad0c38 Mon Sep 17 00:00:00 2001 From: Symphorien Gibol Date: Sat, 25 Apr 2020 12:00:00 +0000 Subject: [PATCH] python3Packages.ihatemoney: disable on python2 it does not build and is not supported according to setup.cfg --- pkgs/development/python-modules/ihatemoney/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/ihatemoney/default.nix b/pkgs/development/python-modules/ihatemoney/default.nix index 0dff8ac7f96..68a8b85a4ed 100644 --- a/pkgs/development/python-modules/ihatemoney/default.nix +++ b/pkgs/development/python-modules/ihatemoney/default.nix @@ -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;