From 0f8a12ee9297fcedc187e58f9df9cbac026113a7 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sat, 7 Sep 2024 03:48:25 +0200 Subject: [PATCH] python312Packages.aiorussound: 2.3.2 -> 3.0.5 https://github.com/noahhusby/aiorussound/releases/tag/3.0.5 --- .../python-modules/aiorussound/default.nix | 25 +++++++++++++++---- 1 file changed, 20 insertions(+), 5 deletions(-) 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;