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

30 lines
701 B
Nix
Raw Normal View History

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