diff --git a/pkgs/development/python-modules/aiorussound/default.nix b/pkgs/development/python-modules/aiorussound/default.nix index a71111fccc89..248511f4a36d 100644 --- a/pkgs/development/python-modules/aiorussound/default.nix +++ b/pkgs/development/python-modules/aiorussound/default.nix @@ -4,28 +4,43 @@ fetchFromGitHub, # build-system - setuptools, + poetry-core, + + # dependencies + mashumaro, + orjson, + + # tests + pytestCheckHook, }: buildPythonPackage rec { pname = "aiorussound"; - version = "2.3.2"; + version = "3.0.5"; pyproject = true; src = fetchFromGitHub { owner = "noahhusby"; repo = "aiorussound"; rev = "refs/tags/${version}"; - hash = "sha256-lQDHwm6dpernRYktu6eqV8uP7FHHHAU28viLg0q58+8="; + hash = "sha256-tv/Box8YqmFXvnezp44lKrPscK9K24+mXBv9aZw/3M4="; }; - build-system = [ setuptools ]; + build-system = [ poetry-core ]; - doCheck = false; # no tests + dependencies = [ + mashumaro + orjson + ]; + + nativeCheckInputs = [ + pytestCheckHook + ]; pythonImportsCheck = [ "aiorussound" ]; meta = with lib; { + changelog = "https://github.com/noahhusby/aiorussound/releases/tag/${version}"; description = "Async python package for interfacing with Russound RIO hardware"; homepage = "https://github.com/noahhusby/aiorussound"; license = licenses.mit;