mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-19 18:44:13 +00:00
soco-cli: init at 0.4.21
This commit is contained in:
parent
e82eea55a9
commit
889d4fb09e
41
pkgs/tools/audio/soco-cli/default.nix
Normal file
41
pkgs/tools/audio/soco-cli/default.nix
Normal file
@ -0,0 +1,41 @@
|
||||
{ lib
|
||||
, fetchFromGitHub
|
||||
, python3
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "soco-cli";
|
||||
version = "0.4.21";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = python3.pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub rec {
|
||||
owner = "avantrec";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1kz2zx59gjfs01jiyzmps8j6yca06yqn6wkidvdk4s3izdm0rarw";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
fastapi
|
||||
rangehttpserver
|
||||
soco
|
||||
tabulate
|
||||
uvicorn
|
||||
];
|
||||
|
||||
# Tests wants to communicate with hardware
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"soco_cli"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Command-line interface to control Sonos sound systems";
|
||||
homepage = "https://github.com/avantrec/soco-cli";
|
||||
license = with licenses; [ asl20 ];
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -19258,6 +19258,8 @@ with pkgs;
|
||||
|
||||
socket_wrapper = callPackage ../development/libraries/socket_wrapper { };
|
||||
|
||||
soco-cli = callPackage ../tools/audio/soco-cli { };
|
||||
|
||||
sofia_sip = callPackage ../development/libraries/sofia-sip {
|
||||
inherit (darwin.apple_sdk.frameworks) SystemConfiguration;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user