depot/third_party/nixpkgs/pkgs/development/python-modules/snapcast/default.nix
Default email 2189cff663 Project import generated by Copybara.
GitOrigin-RevId: 1fe6ed37fd9beb92afe90671c0c2a662a03463dd
2021-04-24 22:57:28 -05:00

37 lines
746 B
Nix

{ lib
, buildPythonPackage
, construct
, fetchFromGitHub
, isPy3k
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "snapcast";
version = "2.1.3";
disabled = !isPy3k;
src = fetchFromGitHub {
owner = "happyleavesaoc";
repo = "python-snapcast";
rev = version;
sha256 = "1jigdccdd7bffszim942mxcwxyznfjx7y3r5yklz3psl7zgbzd6c";
};
propagatedBuildInputs = [
construct
];
checkInputs = [
pytestCheckHook
];
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 ];
};
}