depot/third_party/nixpkgs/pkgs/development/python-modules/snapcast/default.nix
Default email 07d6a74cbb Project import generated by Copybara.
GitOrigin-RevId: f5e8bdd07d1afaabf6b37afc5497b1e498b8046f
2021-03-19 18:17:44 +01:00

30 lines
718 B
Nix

{ lib
, buildPythonPackage
, construct
, fetchPypi
, isPy3k
}:
buildPythonPackage rec {
pname = "snapcast";
version = "2.1.2";
disabled = !isPy3k;
src = fetchPypi {
inherit pname version;
sha256 = "sha256-ILBleqxEO7wTxAw/fvDW+4O4H4XWV5m5WWtaNeRBr4g=";
};
propagatedBuildInputs = [ construct ];
# no checks from Pypi - https://github.com/happyleavesaoc/python-snapcast/issues/23
doCheck = false;
pythonImportsCheck = [ "snapcast" ];
meta = with lib; {
description = "Control Snapcast, a multi-room synchronous audio solution";
homepage = "https://github.com/happyleavesaoc/python-snapcast/";
license = licenses.mit;
maintainers = with maintainers; [ peterhoeg ];
};
}