mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 03:43:06 +00:00
python311Packages.aiohappyeyeballs: init at 2.3.0
Happy Eyeballs for pre-resolved hosts
This commit is contained in:
parent
81363cfed6
commit
a367c7dc1b
@ -1,10 +1,20 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
|
||||
# build-system
|
||||
, poetry-core
|
||||
|
||||
# optional-dependencies
|
||||
, furo
|
||||
, myst-parser
|
||||
, sphinx-autobuild
|
||||
, sphinxHook
|
||||
|
||||
# tests
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
@ -21,6 +31,11 @@ buildPythonPackage rec {
|
||||
hash = "sha256-LMvELnN6Sy6DssXfH6fQ84N2rhdjqB8AlikTMidrjT4=";
|
||||
};
|
||||
|
||||
outputs = [
|
||||
"out"
|
||||
"doc"
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace " --cov=aiohappyeyeballs --cov-report=term-missing:skip-covered" ""
|
||||
@ -28,7 +43,16 @@ buildPythonPackage rec {
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
] ++ passthru.optional-dependencies.docs;
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
docs = [
|
||||
furo
|
||||
myst-parser
|
||||
sphinx-autobuild
|
||||
sphinxHook
|
||||
];
|
||||
};
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-asyncio
|
||||
@ -40,15 +64,15 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# Test has typos
|
||||
# https://github.com/bdraco/aiohappyeyeballs/issues/30
|
||||
"tests/test_impl.py"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Modul for connecting with Happy Eyeballs";
|
||||
description = "Happy Eyeballs for pre-resolved hosts";
|
||||
homepage = "https://github.com/bdraco/aiohappyeyeballs";
|
||||
changelog = "https://github.com/bdraco/aiohappyeyeballs/blob/${version}/CHANGELOG.md";
|
||||
changelog = "https://github.com/bdraco/aiohappyeyeballs/blob/${src.rev}/CHANGELOG.md";
|
||||
license = licenses.psfl;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
maintainers = with maintainers; [ fab hexa ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user