nixpkgs/pkgs/development/python-modules/pychromecast/default.nix
Will Dietz b0ba558f93 pythonPackages.PyChromecast: 2.3.0 -> 2.4.0 (#54361)
also py2 support was dropped in 2.0 (apparently)
2019-01-21 11:02:54 +01:00

23 lines
666 B
Nix

{ lib, fetchPypi, buildPythonPackage, requests, zeroconf, protobuf, casttube, isPy3k }:
buildPythonPackage rec {
pname = "PyChromecast";
version = "2.4.0";
src = fetchPypi {
inherit pname version;
sha256 = "0q012ghssk2xhm17v28sc2lv62vk7wd5p7zzdbgxk6kywfx8yvm2";
};
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.linux;
};
}