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
This commit is contained in:
committed by
Robert Schütz
parent
2f172d3656
commit
9fa208ea9e
@@ -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
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user