diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2022-02-19 15:19:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-19 15:19:37 +0100 |
commit | 0445ee25e3847741ca4dbc744ee2a3abdd31653c (patch) | |
tree | 237bf04b544deada0084a306b9b919bfe9bb8e82 | |
parent | c16960ba2d345b8485ec63c7bc25ae1477674aee (diff) |
python3Packages.soco: add format
-rw-r--r-- | pkgs/development/python-modules/soco/default.nix | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/soco/default.nix b/pkgs/development/python-modules/soco/default.nix index efeea54bcb493..0922f8c10d2b6 100644 --- a/pkgs/development/python-modules/soco/default.nix +++ b/pkgs/development/python-modules/soco/default.nix @@ -16,13 +16,15 @@ buildPythonPackage rec { pname = "soco"; version = "0.26.3"; + format = "setuptools"; + disabled = pythonOlder "3.6"; src = fetchFromGitHub { owner = "SoCo"; repo = "SoCo"; rev = "v${version}"; - sha256 = "sha256-tMW5SCsO1XMQdbasMw3qIMwj+Y6wTQHAmTZ+9r8Mffs="; + hash = "sha256-tMW5SCsO1XMQdbasMw3qIMwj+Y6wTQHAmTZ+9r8Mffs="; }; propagatedBuildInputs = [ @@ -39,15 +41,17 @@ buildPythonPackage rec { requests-mock ]; - pythonImportsCheck = [ "soco" ]; + pythonImportsCheck = [ + "soco" + ]; passthru.updateScript = nix-update-script { attrPath = "python3Packages.${pname}"; }; meta = with lib; { + description = "CLI and library to control Sonos speakers"; homepage = "http://python-soco.com/"; - description = "A CLI and library to control Sonos speakers"; license = licenses.mit; maintainers = with maintainers; [ lovesegfault ]; }; |