diff --git a/pkgs/development/python-modules/aioopenexchangerates/default.nix b/pkgs/development/python-modules/aioopenexchangerates/default.nix index 668274ff85df..34948ce7b78d 100644 --- a/pkgs/development/python-modules/aioopenexchangerates/default.nix +++ b/pkgs/development/python-modules/aioopenexchangerates/default.nix @@ -1,19 +1,20 @@ -{ lib -, aiohttp -, aioresponses -, pydantic -, buildPythonPackage -, fetchFromGitHub -, poetry-core -, pytest-aiohttp -, pytestCheckHook -, pythonOlder -, pythonRelaxDepsHook +{ + lib, + aiohttp, + aioresponses, + pydantic, + buildPythonPackage, + fetchFromGitHub, + poetry-core, + pytest-aiohttp, + pytestCheckHook, + pythonOlder, + pythonRelaxDepsHook, }: buildPythonPackage rec { pname = "aioopenexchangerates"; - version = "0.4.8"; + version = "0.4.9"; pyproject = true; disabled = pythonOlder "3.9"; @@ -22,24 +23,21 @@ buildPythonPackage rec { owner = "MartinHjelmare"; repo = "aioopenexchangerates"; rev = "refs/tags/v${version}"; - hash = "sha256-qwqhbHp4JPsbA6g7SI2frtqhayCmA1s3pTW2S4r6gmw="; + hash = "sha256-goOzp5nPkQCtGV7U71ek1LQ93Ko5BdEvawYb/feGRQQ="; }; 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" ]; - pythonRelaxDeps = [ - "pydantic" - ]; + build-system = [ poetry-core ]; - propagatedBuildInputs = [ + nativeBuildInputs = [ pythonRelaxDepsHook ]; + + dependencies = [ aiohttp pydantic ]; @@ -50,9 +48,7 @@ buildPythonPackage rec { pytestCheckHook ]; - pythonImportsCheck = [ - "aioopenexchangerates" - ]; + pythonImportsCheck = [ "aioopenexchangerates" ]; meta = with lib; { description = "Library for the Openexchangerates API";