From 9fa208ea9e5b0ef706f211e6d4303bc2fa4134e5 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 22 Aug 2024 08:50:10 +0200 Subject: [PATCH] python312Packages.async-interrupt: 1.1.2 -> 1.2.0 Diff: https://github.com/bdraco/async_interrupt/compare/refs/tags/v1.1.2...v1.2.0 Changelog: https://github.com/bdraco/async_interrupt/blob/1.2.0/CHANGELOG.md --- .../python-modules/async-interrupt/default.nix | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/async-interrupt/default.nix b/pkgs/development/python-modules/async-interrupt/default.nix index f166eff8db1a..1d96a8cbd61f 100644 --- a/pkgs/development/python-modules/async-interrupt/default.nix +++ b/pkgs/development/python-modules/async-interrupt/default.nix @@ -4,33 +4,30 @@ fetchFromGitHub, poetry-core, pytest-asyncio, + pytest-cov-stub, pytestCheckHook, pythonOlder, }: buildPythonPackage rec { pname = "async-interrupt"; - version = "1.1.2"; - format = "pyproject"; + version = "1.2.0"; + pyproject = true; - disabled = pythonOlder "3.8"; + disabled = pythonOlder "3.9"; src = fetchFromGitHub { owner = "bdraco"; repo = "async_interrupt"; rev = "refs/tags/v${version}"; - hash = "sha256-CFCWlIx4iAG6gW2ORRYfZpFWRvjukqdcR2yg6NjVqps="; + hash = "sha256-opV5h3aLDDpjlRZRZ9OnrPjUOf/i7g+B9T6msk8wtgI="; }; - postPatch = '' - substituteInPlace pyproject.toml \ - --replace " --cov=async_interrupt --cov-report=term-missing:skip-covered" "" - ''; - nativeBuildInputs = [ poetry-core ]; nativeCheckInputs = [ pytest-asyncio + pytest-cov-stub pytestCheckHook ];