Skip to content

Commit

Permalink
Merge pull request #93935 from symphorien/ihm-stable-update
Browse files Browse the repository at this point in the history
[20.03] ihatemoney: fix CVE-2020-15120
  • Loading branch information
mweinelt committed Jul 26, 2020
2 parents 735df1a + 0c36b32 commit b50d558
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions pkgs/development/python-modules/ihatemoney/default.nix
Expand Up @@ -33,15 +33,22 @@

buildPythonPackage rec {
pname = "ihatemoney";
version = "4.1";
version = "4.1.5";

src = fetchFromGitHub {
owner = "spiral-project";
repo = pname;
rev = version;
sha256 = "1ai7v2i2rvswzv21nwyq51fvp8lr2x2cl3n34p11br06kc1pcmin";
sha256 = "07lkc0rhj6f4fka4m1vimycjxa452d8wlclknviqz2566gnb998n";
};

postPatch = ''
# remove patch release level pinning
sed -i 's/==\([0-9]*\.[0-9]*\).*"/~=\1"/' setup.py
# https://github.com/spiral-project/ihatemoney/issues/567
sed -i 's/WTForms~=2.2/WTForms>=2.1,<2.3/' setup.py
'';

propagatedBuildInputs = [
alembic
aniso8601
Expand Down

0 comments on commit b50d558

Please sign in to comment.