2018-10-19 08:46:04 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi, isPy3k, pytest
|
|
|
|
, construct }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "snapcast";
|
2020-04-11 03:18:42 +01:00
|
|
|
version = "2.1.0";
|
2018-10-19 08:46:04 +01:00
|
|
|
|
|
|
|
disabled = !isPy3k;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-04-11 03:18:42 +01:00
|
|
|
sha256 = "1z3c9p22pm3823jzh917c3rryv02mhigrjkjf9wlhzmjwx5vmjqf";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|