summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSymphorien Gibol <symphorien+git@xlumurb.eu>2020-04-25 12:00:00 +0000
committerSymphorien Gibol <symphorien+git@xlumurb.eu>2020-07-06 18:35:34 +0200
commit4b819d443c3a160aa2fe1bafad120045c7ad0c38 (patch)
tree8235fd1c6da1f362bf9386e2d4425da801a304a3
parent7761494be9bc3291eeab9c97913d2d6461c5c925 (diff)
python3Packages.ihatemoney: disable on python2
it does not build and is not supported according to setup.cfg
-rw-r--r--pkgs/development/python-modules/ihatemoney/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/ihatemoney/default.nix b/pkgs/development/python-modules/ihatemoney/default.nix
index 0dff8ac7f96d..68a8b85a4ed1 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;