soco-cli: modernize

This commit is contained in:
Fabian Affolter
2025-12-29 09:18:27 +01:00
committed by GitHub
parent 2706fda5be
commit 9bd5941577
+4 -7
View File
@@ -9,12 +9,10 @@ python3.pkgs.buildPythonApplication rec {
version = "0.4.82";
pyproject = true;
disabled = python3.pythonOlder "3.6";
src = fetchFromGitHub {
owner = "avantrec";
repo = "soco-cli";
rev = "v${version}";
tag = "v${version}";
hash = "sha256-kD+78dNQ/dff8y9/A3qdIrARStkal3Eu7/plG0T1CrQ=";
};
@@ -31,14 +29,13 @@ python3.pkgs.buildPythonApplication rec {
# Tests wants to communicate with hardware
doCheck = false;
pythonImportsCheck = [
"soco_cli"
];
pythonImportsCheck = [ "soco_cli" ];
meta = {
description = "Command-line interface to control Sonos sound systems";
homepage = "https://github.com/avantrec/soco-cli";
license = with lib.licenses; [ asl20 ];
changelog = "https://github.com/avantrec/soco-cli/blob/${src.tag}/CHANGELOG.txt";
license = lib.licenses.asl20;
mainProgram = "sonos";
maintainers = with lib.maintainers; [ fab ];
};