nixpkgs/pkgs/development/python-modules/snapcast/default.nix

31 lines
718 B
Nix
Raw Normal View History

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