From 0f6d7a8249b1c31c0991694835f8bc3b006f5ab6 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 10 Aug 2024 23:29:22 +0200 Subject: [PATCH] python312Packages.aioopenexchangerates: 0.4.16 -> 0.6.0 Diff: https://github.com/MartinHjelmare/aioopenexchangerates/compare/refs/tags/v0.4.16...v0.6.0 Changelog: https://github.com/MartinHjelmare/aioopenexchangerates/blob/v0.6.0/CHANGELOG.md --- .../aioopenexchangerates/default.nix | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/pkgs/development/python-modules/aioopenexchangerates/default.nix b/pkgs/development/python-modules/aioopenexchangerates/default.nix index 30714c3d3388..2f32df9c72b9 100644 --- a/pkgs/development/python-modules/aioopenexchangerates/default.nix +++ b/pkgs/development/python-modules/aioopenexchangerates/default.nix @@ -2,34 +2,30 @@ lib, aiohttp, aioresponses, - pydantic, buildPythonPackage, fetchFromGitHub, + mashumaro, poetry-core, pytest-aiohttp, + pytest-cov-stub, pytestCheckHook, pythonOlder, }: buildPythonPackage rec { pname = "aioopenexchangerates"; - version = "0.4.16"; + version = "0.6.0"; pyproject = true; - disabled = pythonOlder "3.9"; + disabled = pythonOlder "3.11"; src = fetchFromGitHub { owner = "MartinHjelmare"; repo = "aioopenexchangerates"; rev = "refs/tags/v${version}"; - hash = "sha256-cSHqlFzZiQ0CCH+rPDqPulrLPuE6BB7Qd+wWb4ZWPtk="; + hash = "sha256-XvpSHxPCsfxgHdPVf8NGKPpCYbeZhVLwRtj6koAt/Rk="; }; - postPatch = '' - substituteInPlace pyproject.toml \ - --replace-fail " --cov=aioopenexchangerates --cov-report=term-missing:skip-covered" "" - ''; - pythonRelaxDeps = [ "pydantic" ]; build-system = [ poetry-core ]; @@ -37,12 +33,13 @@ buildPythonPackage rec { dependencies = [ aiohttp - pydantic + mashumaro ]; nativeCheckInputs = [ aioresponses pytest-aiohttp + pytest-cov-stub pytestCheckHook ];