2021-01-25 09:26:54 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi, isPy3k, pytest
|
2018-10-19 09:46:04 +02:00
|
|
|
, construct }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "snapcast";
|
2020-06-05 19:44:37 +02:00
|
|
|
version = "2.1.1";
|
2018-10-19 09:46:04 +02:00
|
|
|
|
|
|
|
disabled = !isPy3k;
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-05 19:44:37 +02:00
|
|
|
sha256 = "c3ecd63d997fbcf6e5322dc47c1f02615f1d9611cba01ec18e9c9f8c14ed824b";
|
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;
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2018-10-19 09:46:04 +02:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|