2018-10-19 08:46:04 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, isPy3k, pytest
|
|
|
|
, construct }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "snapcast";
|
2020-06-05 18:44:37 +01:00
|
|
|
version = "2.1.1";
|
2018-10-19 08:46:04 +01:00
|
|
|
|
|
|
|
disabled = !isPy3k;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-05 18:44:37 +01:00
|
|
|
sha256 = "c3ecd63d997fbcf6e5322dc47c1f02615f1d9611cba01ec18e9c9f8c14ed824b";
|
2018-10-19 08:46:04 +01: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";
|
2020-04-11 03:18:42 +01:00
|
|
|
homepage = "https://github.com/happyleavesaoc/python-snapcast/";
|
2018-10-19 08:46:04 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ peterhoeg ];
|
|
|
|
};
|
|
|
|
}
|