Merge pull request #49591 from peterhoeg/p/snap

pythonPackages.snapcast: init at 2.0.9
This commit is contained in:
Robert Schütz 2018-11-07 14:10:35 +01:00 committed by GitHub
commit ae50efe353
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 31 additions and 1 deletions

View File

@ -0,0 +1,28 @@
{ stdenv, buildPythonPackage, fetchPypi, isPy3k, pytest
, construct }:
buildPythonPackage rec {
pname = "snapcast";
version = "2.0.9";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "0hlfcg0qdfavjzhxz4v2spjkj6440a1254wrncfkfkyff6rv9x3s";
};
checkInputs = [ pytest ];
propagatedBuildInputs = [ construct ];
# no checks from Pypi - https://github.com/happyleavesaoc/python-snapcast/issues/23
doCheck = false;
meta = with stdenv.lib; {
description = "Control Snapcast, a multi-room synchronous audio solution";
homepage = https://github.com/happyleavesaoc/python-snapcast/;
license = licenses.mit;
maintainers = with maintainers; [ peterhoeg ];
};
}

View File

@ -676,7 +676,7 @@
"media_player.russound_rnet" = ps: with ps; [ ];
"media_player.samsungtv" = ps: with ps; [ wakeonlan ];
"media_player.sisyphus" = ps: with ps; [ ];
"media_player.snapcast" = ps: with ps; [ ];
"media_player.snapcast" = ps: with ps; [ snapcast ];
"media_player.songpal" = ps: with ps; [ ];
"media_player.sonos" = ps: with ps; [ ];
"media_player.soundtouch" = ps: with ps; [ libsoundtouch ];

View File

@ -660,6 +660,8 @@ in {
slicerator = callPackage ../development/python-modules/slicerator { };
snapcast = callPackage ../development/python-modules/snapcast { };
spglib = callPackage ../development/python-modules/spglib { };
sslib = callPackage ../development/python-modules/sslib { };