mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
python3Packages.meteofrance-api: adjust pytz constraint
This commit is contained in:
parent
d98ccca9b5
commit
cfb5ca06db
1 changed files with 6 additions and 0 deletions
|
@ -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"
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue