pythonPackages.PyChromecast: 2.3.0 -> 2.4.0 (#54361)
also py2 support was dropped in 2.0 (apparently)
This commit is contained in:
parent
6d4f3311d4
commit
b0ba558f93
|
@ -1,19 +1,20 @@
|
|||
{ lib, fetchurl, buildPythonPackage, requests, six, zeroconf, protobuf, casttube }:
|
||||
{ lib, fetchPypi, buildPythonPackage, requests, zeroconf, protobuf, casttube, isPy3k }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "PyChromecast";
|
||||
version = "2.3.0";
|
||||
name = pname + "-" + version;
|
||||
version = "2.4.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/p/pychromecast/${name}.tar.gz";
|
||||
sha256 = "f385168e34d2ef47f976c8e41bad2f58f5ca004634c0ccb1a12623d8beb2fa38";
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "0q012ghssk2xhm17v28sc2lv62vk7wd5p7zzdbgxk6kywfx8yvm2";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ requests six zeroconf protobuf casttube ];
|
||||
disabled = !isPy3k;
|
||||
|
||||
propagatedBuildInputs = [ requests zeroconf protobuf casttube ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Library for Python 2 and 3 to communicate with the Google Chromecast";
|
||||
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 ];
|
||||
|
|
Loading…
Reference in a new issue