diff --git a/pkgs/development/python-modules/pysqueezebox/default.nix b/pkgs/development/python-modules/pysqueezebox/default.nix index 9c485b2c0de5..06b755717601 100644 --- a/pkgs/development/python-modules/pysqueezebox/default.nix +++ b/pkgs/development/python-modules/pysqueezebox/default.nix @@ -1,29 +1,36 @@ { lib, aiohttp, + async-timeout, buildPythonPackage, fetchFromGitHub, pytest-asyncio, pytestCheckHook, pythonAtLeast, pythonOlder, + setuptools, }: buildPythonPackage rec { pname = "pysqueezebox"; - version = "0.8.1"; - format = "setuptools"; + version = "0.9.2"; + pyproject = true; - disabled = pythonOlder "3.6"; + disabled = pythonOlder "3.10"; src = fetchFromGitHub { owner = "rajlaud"; - repo = pname; + repo = "pysqueezebox"; rev = "refs/tags/v${version}"; - hash = "sha256-d+8/YyA6tTBxZpiR9pu/5K1v0FOiSrR7RZ7MMBwOzdA="; + hash = "sha256-gHv1dSWU0erzesneodMhCR1LQYutpDVithZ5M1lgk3I="; }; - propagatedBuildInputs = [ aiohttp ]; + build-system = [ setuptools ]; + + dependencies = [ + async-timeout + aiohttp + ]; nativeCheckInputs = [ pytest-asyncio @@ -45,6 +52,7 @@ buildPythonPackage rec { meta = with lib; { description = "Asynchronous library to control Logitech Media Server"; homepage = "https://github.com/rajlaud/pysqueezebox"; + changelog = "https://github.com/rajlaud/pysqueezebox/releases/tag/v${version}"; license = licenses.asl20; maintainers = with maintainers; [ nyanloutre ]; };