python3Packages.svcs: init at 25.1.0

This commit is contained in:
Sergey Volkov
2026-01-21 14:04:11 +01:00
committed by Sergei Volkov
parent 879553cb9c
commit 6efd19704d
2 changed files with 75 additions and 0 deletions
@@ -0,0 +1,73 @@
{
lib,
stdenv,
buildPythonPackage,
fetchFromGitHub,
attrs,
hatch-fancy-pypi-readme,
hatch-vcs,
hatchling,
# test dependencies
aiohttp,
fastapi,
flask,
httpx,
pyramid,
pytest-asyncio,
pytestCheckHook,
starlette,
sybil,
}:
buildPythonPackage rec {
pname = "svcs";
version = "25.1.0";
format = "pyproject";
src = fetchFromGitHub {
owner = "hynek";
repo = "svcs";
tag = version;
hash = "sha256-dDPmOKGifAGmAH3TD0NzJvR8lUB5qDWbxIwzHtNeF+4=";
};
build-system = [
hatch-fancy-pypi-readme
hatch-vcs
hatchling
];
dependencies = [
attrs
];
nativeCheckInputs = [
aiohttp
fastapi
flask
httpx
pyramid
pytest-asyncio
pytestCheckHook
starlette
sybil
];
disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [
"test_aclose_registry_ok"
"test_registrations"
"test_get_pings"
"test_client_pool_register_value"
];
pythonImportsCheck = [ "svcs" ];
meta = {
description = "Flexible Service Locator for Python";
homepage = "https://github.com/hynek/svcs";
changelog = "https://github.com/hynek/svcs/releases/tag/${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ taranarmo ];
};
}
+2
View File
@@ -18406,6 +18406,8 @@ self: super: with self; {
sv-ttk = callPackage ../development/python-modules/sv-ttk { };
svcs = callPackage ../development/python-modules/svcs { };
svg-path = callPackage ../development/python-modules/svg-path { };
svg-py = callPackage ../development/python-modules/svg-py { };