From 775475671f508e2aa17c5e2f0d56be5bba0bbb24 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 4 Apr 2024 01:30:50 +0200 Subject: [PATCH] python312Packages.aioopenexchangerates: refactor --- .../aioopenexchangerates/default.nix | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/aioopenexchangerates/default.nix b/pkgs/development/python-modules/aioopenexchangerates/default.nix index ecd6c5982537..54803ccfd8cd 100644 --- a/pkgs/development/python-modules/aioopenexchangerates/default.nix +++ b/pkgs/development/python-modules/aioopenexchangerates/default.nix @@ -27,19 +27,22 @@ buildPythonPackage rec { postPatch = '' substituteInPlace pyproject.toml \ - --replace " --cov=aioopenexchangerates --cov-report=term-missing:skip-covered" "" + --replace-fail " --cov=aioopenexchangerates --cov-report=term-missing:skip-covered" "" ''; - nativeBuildInputs = [ - poetry-core - pythonRelaxDepsHook - ]; - pythonRelaxDeps = [ "pydantic" ]; - propagatedBuildInputs = [ + build-system = [ + poetry-core + ]; + + nativeBuildInputs = [ + pythonRelaxDepsHook + ]; + + dependencies = [ aiohttp pydantic ];