soco-cli: Set correct mainProgram

soco-cli provides a `soco` and `sonos` command which refer to the same module:
49bc7df15f/setup.py (L36)

From the documentation `sonos` seems to be preferred. Set `mainProgram` so it
works with nix-shell etc.
This commit is contained in:
williamvds 2022-12-21 23:42:40 +00:00
parent 5d6fa6fdeb
commit 1ec3fe7fb7
No known key found for this signature in database
GPG Key ID: 7A4DF5A8CDBD49C7

View File

@ -37,5 +37,6 @@ python3.pkgs.buildPythonApplication rec {
homepage = "https://github.com/avantrec/soco-cli";
license = with licenses; [ asl20 ];
maintainers = with maintainers; [ fab ];
mainProgram = "sonos";
};
}