mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-21 16:11:22 +00:00
python3.pkgs.ihatemoney: 4.1 -> 4.1.4
This commit is contained in:
@@ -33,15 +33,22 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "ihatemoney";
|
||||
version = "4.1";
|
||||
version = "4.1.4";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "spiral-project";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "1ai7v2i2rvswzv21nwyq51fvp8lr2x2cl3n34p11br06kc1pcmin";
|
||||
sha256 = "1k9pgjvhvmr9wh15zrsxi14cg1fvj41lz2pq9lm03crlxv0frbcm";
|
||||
};
|
||||
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user