chromium,chromedriver: 129.0.6668.91 -> 129.0.6668.100
[NixPkgs.git] / pkgs / by-name / so / soco-cli / package.nix
blobb2b415414c79b1d0a2a130438121dc1124de6323
1 { lib
2 , fetchFromGitHub
3 , python3
4 }:
6 python3.pkgs.buildPythonApplication rec {
7   pname = "soco-cli";
8   version = "0.4.73";
9   format = "setuptools";
11   disabled = python3.pythonOlder "3.6";
13   src = fetchFromGitHub {
14     owner = "avantrec";
15     repo = pname;
16     rev = "v${version}";
17     hash = "sha256-WxBwHjh5tCXclQXqrHrpvZdcQU93RObteAfZyyVvKf0=";
18   };
20   propagatedBuildInputs = with python3.pkgs; [
21     fastapi
22     rangehttpserver
23     soco
24     tabulate
25     uvicorn
26   ];
28   # Tests wants to communicate with hardware
29   doCheck = false;
31   pythonImportsCheck = [
32     "soco_cli"
33   ];
35   meta = {
36     description = "Command-line interface to control Sonos sound systems";
37     homepage = "https://github.com/avantrec/soco-cli";
38     license = with lib.licenses; [ asl20 ];
39     mainProgram = "sonos";
40     maintainers = with lib.maintainers; [ fab ];
41   };