From 2720b53385ce0dc2b8a09536606d6f1f18d51c77 Mon Sep 17 00:00:00 2001 From: Symphorien Gibol Date: Fri, 24 Apr 2020 12:00:00 +0000 Subject: [PATCH] python3Packages.ihatemoney: 4.1.3 -> 4.2 --- .../python-modules/ihatemoney/default.nix | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/ihatemoney/default.nix b/pkgs/development/python-modules/ihatemoney/default.nix index 18da46d45e23..31640ec147e7 100644 --- a/pkgs/development/python-modules/ihatemoney/default.nix +++ b/pkgs/development/python-modules/ihatemoney/default.nix @@ -15,6 +15,7 @@ , flask_script , flask_sqlalchemy , flask_wtf +, debts , idna , itsdangerous , jinja2 @@ -25,6 +26,7 @@ , pytz , six , sqlalchemy +, sqlalchemy-continuum , werkzeug , wtforms , psycopg2 # optional, for postgresql support @@ -33,15 +35,20 @@ buildPythonPackage rec { pname = "ihatemoney"; - version = "4.1.3"; + version = "4.2"; src = fetchFromGitHub { owner = "spiral-project"; repo = pname; rev = version; - sha256 = "02mxhf41c95gfp2wi74li2xli7sblm075w5z5ywkrh0pc1v02mgp"; + sha256 = "0d4vc6m0jkwlz9ly0hcjghccydvqbldh2jb8yzf94jrgkd5fd7k1"; }; + patchPhase = '' + # remove draconian pinning + sed -i 's/==.*$//' setup.cfg + ''; + propagatedBuildInputs = [ alembic aniso8601 @@ -68,9 +75,11 @@ buildPythonPackage rec { pytz six sqlalchemy + sqlalchemy-continuum werkzeug wtforms psycopg2 + debts ]; checkInputs = [