3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/soco/default.nix

30 lines
689 B
Nix
Raw Normal View History

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