Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.03 723 B view raw
1{ stdenv, buildPythonPackage, fetchPypi, isPy3k, pytest 2, construct }: 3 4buildPythonPackage rec { 5 pname = "snapcast"; 6 version = "2.0.9"; 7 8 disabled = !isPy3k; 9 10 src = fetchPypi { 11 inherit pname version; 12 sha256 = "0hlfcg0qdfavjzhxz4v2spjkj6440a1254wrncfkfkyff6rv9x3s"; 13 }; 14 15 checkInputs = [ pytest ]; 16 17 propagatedBuildInputs = [ construct ]; 18 19 # no checks from Pypi - https://github.com/happyleavesaoc/python-snapcast/issues/23 20 doCheck = false; 21 22 meta = with stdenv.lib; { 23 description = "Control Snapcast, a multi-room synchronous audio solution"; 24 homepage = https://github.com/happyleavesaoc/python-snapcast/; 25 license = licenses.mit; 26 maintainers = with maintainers; [ peterhoeg ]; 27 }; 28}