nixpkgs/pkgs/development/python-modules/pychromecast/default.nix
2020-06-11 10:00:18 +02:00

24 lines
679 B
Nix

{ lib, fetchPypi, buildPythonPackage, requests, zeroconf, protobuf, casttube, isPy3k }:
buildPythonPackage rec {
pname = "PyChromecast";
version = "6.0.0";
src = fetchPypi {
inherit pname version;
sha256 = "15beaafdb155885794443d99fa687a2787d8bad8ba440ecda10bb72bd6c8c815";
};
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;
};
}