diff options
Diffstat (limited to 'pkgs/development/python-modules/snapcast/default.nix')
-rw-r--r-- | pkgs/development/python-modules/snapcast/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/snapcast/default.nix b/pkgs/development/python-modules/snapcast/default.nix new file mode 100644 index 00000000000..bb137541791 --- /dev/null +++ b/pkgs/development/python-modules/snapcast/default.nix @@ -0,0 +1,28 @@ +{ stdenv, buildPythonPackage, fetchPypi, isPy3k, pytest +, construct }: + +buildPythonPackage rec { + pname = "snapcast"; + version = "2.0.9"; + + disabled = !isPy3k; + + src = fetchPypi { + inherit pname version; + sha256 = "0hlfcg0qdfavjzhxz4v2spjkj6440a1254wrncfkfkyff6rv9x3s"; + }; + + 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 ]; + }; +} |