diff --git a/pkgs/development/python-modules/huum/default.nix b/pkgs/development/python-modules/huum/default.nix index 2442a8456828..6ca367b693b3 100644 --- a/pkgs/development/python-modules/huum/default.nix +++ b/pkgs/development/python-modules/huum/default.nix @@ -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 ]; }; }