10 buildPythonPackage rec {
11 pname = "async-interrupt";
15 disabled = pythonOlder "3.8";
17 src = fetchFromGitHub {
19 repo = "async_interrupt";
20 rev = "refs/tags/v${version}";
21 hash = "sha256-mbvOj1ybCkDNr3je3PtFwmddkh2k/nHOerpC6hGSUYI=";
25 substituteInPlace pyproject.toml \
26 --replace " --cov=async_interrupt --cov-report=term-missing:skip-covered" ""
38 pythonImportsCheck = [
43 description = "Context manager to raise an exception when a future is done";
44 homepage = "https://github.com/bdraco/async_interrupt";
45 changelog = "https://github.com/bdraco/async_interrupt/blob/${version}/CHANGELOG.md";
46 license = licenses.asl20;
47 maintainers = with maintainers; [ fab ];