Merge pull request #249629 from fabaff/odp-amsterdam-bump

python311Packages.odp-amsterdam: 5.1.1 -> 5.2.0
This commit is contained in:
Nick Cao 2023-08-17 08:41:32 +08:00 committed by GitHub
commit 08751764ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 = [