nixpkgs/pkgs/development/python-modules/pychromecast/default.nix
2020-05-27 11:29:42 -07:00

24 lines
667 B
Nix

{ lib, fetchPypi, buildPythonPackage, requests, zeroconf, protobuf, casttube, isPy3k }:
buildPythonPackage rec {
pname = "PyChromecast";
version = "5.2.0";
src = fetchPypi {
inherit pname version;
sha256 = "052q25k3v5fwa02hf5zdpjpfb94ml9g67cqwjjvf6vdana8w3gwh";
};
disabled = !isPy3k;
propagatedBuildInputs = [ requests zeroconf protobuf casttube ];
meta = with lib; {
description = "Library for Python 3.4+ to communicate with the Google Chromecast";
homepage = "https://github.com/balloob/pychromecast";
license = licenses.mit;
maintainers = with maintainers; [ abbradar ];
platforms = platforms.unix;
};
}