summary refs log tree commit diff
path: root/pkgs/development/python-modules/meteofrance-api/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/meteofrance-api/default.nix')
-rw-r--r--pkgs/development/python-modules/meteofrance-api/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/meteofrance-api/default.nix b/pkgs/development/python-modules/meteofrance-api/default.nix
index dadd872adcd..5e738adb62b 100644
--- a/pkgs/development/python-modules/meteofrance-api/default.nix
+++ b/pkgs/development/python-modules/meteofrance-api/default.nix
@@ -43,6 +43,12 @@ buildPythonPackage rec {
     requests-mock
   ];
 
+  postPatch = ''
+    # https://github.com/hacf-fr/meteofrance-api/pull/378
+    substituteInPlace pyproject.toml \
+      --replace 'pytz = ">=2020.4,<2022.0"' 'pytz = ">=2020.4,<2023.0"'
+  '';
+
   pythonImportsCheck = [
     "meteofrance_api"
   ];