Fabian Affolter 2023-08-16 23:51:10 +02:00
parent 214c9de815
commit 2f29aa92b5

View file

@ -7,11 +7,12 @@
, pythonOlder
, pytest-asyncio
, pytestCheckHook
, pytz
}:
buildPythonPackage rec {
pname = "odp-amsterdam";
version = "5.1.1";
version = "5.2.0";
format = "pyproject";
disabled = pythonOlder "3.9";
@ -20,13 +21,12 @@ buildPythonPackage rec {
owner = "klaasnicolaas";
repo = "python-odp-amsterdam";
rev = "refs/tags/v${version}";
hash = "sha256-DaL2CTrhWqBwl3kktF1wndxzrreA24C3zXmp4ghf/4s=";
hash = "sha256-iJjwxvlxzRpKy2P0A3mS2i05bues5YasP72HuZiuFyE=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace '"0.0.0"' '"${version}"'
sed -i '/addopts/d' pyproject.toml
'';
@ -36,6 +36,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [
aiohttp
pytz
];
nativeCheckInputs = [