diff options
author | Symphorien Gibol <symphorien+git@xlumurb.eu> | 2020-04-25 12:00:00 +0000 |
---|---|---|
committer | Symphorien Gibol <symphorien+git@xlumurb.eu> | 2020-07-06 18:35:22 +0200 |
commit | 7761494be9bc3291eeab9c97913d2d6461c5c925 (patch) | |
tree | 2727be9a7f796baa60b22f54ac631836140cec47 | |
parent | 2720b53385ce0dc2b8a09536606d6f1f18d51c77 (diff) |
python3Packages.ihatemoney: fix postgresql test
-rw-r--r-- | pkgs/development/python-modules/ihatemoney/default.nix | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/ihatemoney/default.nix b/pkgs/development/python-modules/ihatemoney/default.nix index 31640ec147e7..0dff8ac7f96d 100644 --- a/pkgs/development/python-modules/ihatemoney/default.nix +++ b/pkgs/development/python-modules/ihatemoney/default.nix @@ -1,4 +1,4 @@ -{ buildPythonPackage, lib, fetchFromGitHub, isPy27, nixosTests +{ buildPythonPackage, lib, fetchFromGitHub, isPy27, nixosTests, fetchpatch , alembic , aniso8601 , Babel @@ -44,7 +44,16 @@ buildPythonPackage rec { sha256 = "0d4vc6m0jkwlz9ly0hcjghccydvqbldh2jb8yzf94jrgkd5fd7k1"; }; - patchPhase = '' + patches = [ + # fix migration on postgresql + # remove on next release + (fetchpatch { + url = "https://github.com/spiral-project/ihatemoney/commit/6129191b26784b895e203fa3eafb89cee7d88b71.patch"; + sha256 = "0yc24gsih9x3pnh2mhj4v5i71x02dq93a9jd2r8b1limhcl4p1sw"; + }) + ]; + + postPatch = '' # remove draconian pinning sed -i 's/==.*$//' setup.cfg ''; |