3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #61748 from dotlambda/pysonos

home-assistant: add sonos component dependencies
This commit is contained in:
Robert Schütz 2019-05-20 13:22:58 +02:00 committed by GitHub
commit 4e674aa157
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 45 additions and 0 deletions

View file

@ -2486,6 +2486,11 @@
github = "jtojnar";
name = "Jan Tojnar";
};
juaningan = {
email = "juaningan@gmail.com";
github = "juaningan";
name = "Juan Rodal";
};
juliendehos = {
email = "dehos@lisic.univ-littoral.fr";
github = "juliendehos";

View file

@ -0,0 +1,38 @@
{ lib
, buildPythonPackage
, fetchPypi
, isPy3k
, xmltodict
, requests
, ifaddr
# Test dependencies
, pytest_3, pylint, flake8, graphviz
, mock, sphinx, sphinx_rtd_theme
}:
buildPythonPackage rec {
pname = "pysonos";
version = "0.0.13";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "0azkbd20qdzdilv5pi4qngw7pjjcsv269dim7xh3qv7s9bp0xik8";
};
propagatedBuildInputs = [ xmltodict requests ifaddr ];
checkInputs = [
pytest_3 pylint flake8 graphviz
mock sphinx sphinx_rtd_theme
];
meta = {
homepage = https://github.com/amelchio/pysonos;
description = "A SoCo fork with fixes for Home Assistant";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ juaningan ];
};
}

View file

@ -4055,6 +4055,8 @@ in {
pyserial = callPackage ../development/python-modules/pyserial {};
pysonos = callPackage ../development/python-modules/pysonos {};
pymongo = callPackage ../development/python-modules/pymongo {};
pyperclip = callPackage ../development/python-modules/pyperclip { };