Files
nixpkgs/pkgs/development/python-modules/soco/default.nix
T

30 lines
689 B
Nix
Raw Normal View History

2018-06-29 21:04:42 +02:00
{ lib, buildPythonPackage, fetchPypi, xmltodict, requests
2020-06-19 10:37:27 +02:00
, toml
2018-06-29 21:04:42 +02:00
# Test dependencies
2019-07-05 18:25:45 +02:00
, pytest, pytestcov, coveralls, pylint, flake8, graphviz, mock, sphinx
2018-06-29 21:04:42 +02:00
, sphinx_rtd_theme
}:
buildPythonPackage rec {
pname = "soco";
2020-04-07 07:27:14 +00:00
version = "0.19";
2018-06-29 21:04:42 +02:00
src = fetchPypi {
inherit pname version;
2020-04-07 07:27:14 +00:00
sha256 = "0dgca286vhrabm4r4jj545k895z6w2c70ars06vrjhf9cpgg7qck";
2018-06-29 21:04:42 +02:00
};
2020-06-19 10:37:27 +02:00
propagatedBuildInputs = [ xmltodict requests toml ];
2018-06-29 21:04:42 +02:00
checkInputs = [
2019-07-05 18:25:45 +02:00
pytest pytestcov coveralls pylint flake8 graphviz mock sphinx
2018-06-29 21:04:42 +02:00
sphinx_rtd_theme
];
meta = {
2020-04-07 07:27:14 +00:00
homepage = "http://python-soco.com/";
2018-06-29 21:04:42 +02:00
description = "A CLI and library to control Sonos speakers";
license = lib.licenses.mit;
};
}