about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/soco/default.nix
blob: 4c938490eb4fe7458490dcdd6acfee5c41141ec8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ lib, buildPythonPackage, fetchPypi, xmltodict, requests

# Test dependencies
, pytest_3, pytestcov, coveralls, pylint, flake8, graphviz, mock, sphinx
, sphinx_rtd_theme
}:

buildPythonPackage rec {
  pname = "soco";
  version = "0.16";

  src = fetchPypi {
    inherit pname version;
    sha256 = "7bed4475e3f134283af1f520a9b2e6ce2a8e69bdc1b58ee68528b3d093972424";
  };

  propagatedBuildInputs = [ xmltodict requests ];
  checkInputs = [
    pytest_3 pytestcov coveralls pylint flake8 graphviz mock sphinx
    sphinx_rtd_theme
  ];

  meta = {
    homepage = http://python-soco.com/;
    description = "A CLI and library to control Sonos speakers";
    license = lib.licenses.mit;
  };
}