Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / snapcast / default.nix
blob702b0e3e365e4333df7d4944a18c278ee9d419af
1 { lib
2 , buildPythonPackage
3 , construct
4 , fetchPypi
5 , isPy3k
6 }:
8 buildPythonPackage rec {
9   pname = "snapcast";
10   version = "2.1.2";
11   disabled = !isPy3k;
13   src = fetchPypi {
14     inherit pname version;
15     sha256 = "sha256-ILBleqxEO7wTxAw/fvDW+4O4H4XWV5m5WWtaNeRBr4g=";
16   };
18   propagatedBuildInputs = [ construct ];
20   # no checks from Pypi - https://github.com/happyleavesaoc/python-snapcast/issues/23
21   doCheck = false;
22   pythonImportsCheck = [ "snapcast" ];
24   meta = with lib; {
25     description = "Control Snapcast, a multi-room synchronous audio solution";
26     homepage = "https://github.com/happyleavesaoc/python-snapcast/";
27     license = licenses.mit;
28     maintainers = with maintainers; [ peterhoeg ];
29   };