git.iko.soy/typeable/nixpkgs
on master help sign in
python3Packages.ihatemoney: fix build
commit77f77acffc569814a9a5e9a3a07b83a32cc14b77 authorRobert Schütz <nix@dotlambda.de> dateThu 3 Mar 2022, 02:36 (5 years ago) parentb628706
1 file changed+2−1
pkgs/development/python-modules/ihatemoney/default.nix+2−1
pkgs/development/python-modules/ihatemoney/default.nix+2−1
@@ -96,6 +96,7 @@ buildPythonPackage rec {
9696
9797 postPatch = ''
9898 substituteInPlace setup.cfg \
99+ --replace "cachetools>=4.1,<5" "cachetools>=4.1" \
99100 --replace "Flask-WTF>=0.14.3,<1" "Flask-WTF>=0.14.3,<2" \
100101 --replace "SQLAlchemy>=1.3.0,<1.4" "SQLAlchemy>=1.3.0,<1.5" \
101102 --replace "WTForms>=2.3.1,<2.4" "WTForms"
@@ -106,7 +107,7 @@ buildPythonPackage rec {
106107 pytestCheckHook
107108 ];
108109
109− pythonImportChecks = [ "ihatemoney" ];
110+ pythonImportsCheck = [ "ihatemoney" ];
110111
111112 disabledTests = [
112113 "test_notifications" # requires running service.