mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-15 22:19:17 +03:00
python313Packages.blockbuster: init at 1.5.23
New test dependency for anyio.
This commit is contained in:
parent
24871b4859
commit
d770f77cc4
2 changed files with 49 additions and 0 deletions
47
pkgs/development/python-modules/blockbuster/default.nix
Normal file
47
pkgs/development/python-modules/blockbuster/default.nix
Normal file
|
@ -0,0 +1,47 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
buildPythonPackage,
|
||||||
|
fetchFromGitHub,
|
||||||
|
hatchling,
|
||||||
|
forbiddenfruit,
|
||||||
|
pytestCheckHook,
|
||||||
|
pytest-asyncio,
|
||||||
|
requests,
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "blockbuster";
|
||||||
|
version = "1.5.23";
|
||||||
|
pyproject = true;
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "cbornet";
|
||||||
|
repo = "blockbuster";
|
||||||
|
tag = "v${version}";
|
||||||
|
hash = "sha256-AxRnP8/fIae5ovWQVpfs3ZLIIkxXqVZmuhGjPTX5B/g=";
|
||||||
|
};
|
||||||
|
|
||||||
|
build-system = [ hatchling ];
|
||||||
|
|
||||||
|
dependencies = [ forbiddenfruit ];
|
||||||
|
|
||||||
|
nativeCheckInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
pytest-asyncio
|
||||||
|
requests
|
||||||
|
];
|
||||||
|
|
||||||
|
disabledTests = [
|
||||||
|
# network access
|
||||||
|
"test_ssl_socket"
|
||||||
|
];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "blockbuster" ];
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "Utility to detect blocking calls in the async event loop";
|
||||||
|
homepage = "https://github.com/cbornet/blockbuster";
|
||||||
|
license = lib.licenses.asl20;
|
||||||
|
maintainers = with lib.maintainers; [ ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -1894,6 +1894,8 @@ self: super: with self; {
|
||||||
|
|
||||||
block-io = callPackage ../development/python-modules/block-io { };
|
block-io = callPackage ../development/python-modules/block-io { };
|
||||||
|
|
||||||
|
blockbuster = callPackage ../development/python-modules/blockbuster { };
|
||||||
|
|
||||||
blockchain = callPackage ../development/python-modules/blockchain { };
|
blockchain = callPackage ../development/python-modules/blockchain { };
|
||||||
|
|
||||||
blockdiag = callPackage ../development/python-modules/blockdiag { };
|
blockdiag = callPackage ../development/python-modules/blockdiag { };
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue