python313Packages.huum: refactor (#431930)

This commit is contained in:
Fabian Affolter
2025-08-08 20:54:24 +02:00
committed by GitHub
@@ -7,7 +7,6 @@
poetry-core,
pytest-asyncio,
pytestCheckHook,
pythonOlder,
}:
buildPythonPackage rec {
@@ -15,8 +14,6 @@ buildPythonPackage rec {
version = "0.8.1";
pyproject = true;
disabled = pythonOlder "3.11";
src = fetchFromGitHub {
owner = "frwickst";
repo = "pyhuum";
@@ -24,12 +21,13 @@ buildPythonPackage rec {
hash = "sha256-8wldXJAdo1PK4bKX0rKJjNwwTS5FSgr9RcwiyVhESb8=";
};
nativeBuildInputs = [ poetry-core ];
build-system = [ poetry-core ];
propagatedBuildInputs = [
dependencies = [
aiohttp
mashumaro
];
]
++ aiohttp.optional-dependencies.speedups;
nativeCheckInputs = [
pytest-asyncio
@@ -41,8 +39,8 @@ buildPythonPackage rec {
meta = with lib; {
description = "Library for Huum saunas";
homepage = "https://github.com/frwickst/pyhuum";
changelog = "https://github.com/frwickst/pyhuum/releases/tag/${version}";
license = with licenses; [ mit ];
changelog = "https://github.com/frwickst/pyhuum/releases/tag/${src.tag}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}