diff --git a/pkgs/development/python-modules/aiortm/default.nix b/pkgs/development/python-modules/aiortm/default.nix index 93b345d89a1d..204fedd129c2 100644 --- a/pkgs/development/python-modules/aiortm/default.nix +++ b/pkgs/development/python-modules/aiortm/default.nix @@ -2,10 +2,12 @@ , aiohttp , aioresponses , buildPythonPackage +, ciso8601 , click , fetchFromGitHub -, pydantic +, mashumaro , poetry-core +, pytest-asyncio , pytestCheckHook , pythonOlder , yarl @@ -13,39 +15,41 @@ buildPythonPackage rec { pname = "aiortm"; - version = "0.6.4"; - format = "pyproject"; + version = "0.8.5"; + pyproject = true; disabled = pythonOlder "3.9"; src = fetchFromGitHub { owner = "MartinHjelmare"; - repo = pname; + repo = "aiortm"; rev = "refs/tags/v${version}"; - hash = "sha256-PFZ8B2Wtjg3xUFYcnthTW5QXLk//lFH25jwpF7hygxQ="; + hash = "sha256-qFjMNU/sUFtCzBNG7vauz2p1BSr9ra81kyUtaz5vSTg="; }; + postPatch = '' + substituteInPlace pyproject.toml \ + --replace " --cov=aiortm --cov-report=term-missing:skip-covered" "" + ''; + nativeBuildInputs = [ poetry-core ]; propagatedBuildInputs = [ aiohttp + ciso8601 click - pydantic + mashumaro yarl ]; nativeCheckInputs = [ aioresponses + pytest-asyncio pytestCheckHook ]; - postPatch = '' - substituteInPlace pyproject.toml \ - --replace " --cov=aiortm --cov-report=term-missing:skip-covered" "" - ''; - pythonImportsCheck = [ "aiortm" ];