2018-10-19 07:46:04 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, isPy3k, pytest
|
|
|
|
, construct }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "snapcast";
|
2019-05-30 06:49:53 +00:00
|
|
|
version = "2.0.10";
|
2018-10-19 07:46:04 +00:00
|
|
|
|
|
|
|
disabled = !isPy3k;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-05-30 06:49:53 +00:00
|
|
|
sha256 = "2a862a57ca65aa11cf010a19cdfee37e5728d486ee92684b00233442613b5120";
|
2018-10-19 07:46:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|