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