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 {
|
buildPythonPackage rec {
|
||||||
pname = "PyChromecast";
|
pname = "PyChromecast";
|
||||||
version = "2.3.0";
|
version = "2.4.0";
|
||||||
name = pname + "-" + version;
|
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchPypi {
|
||||||
url = "mirror://pypi/p/pychromecast/${name}.tar.gz";
|
inherit pname version;
|
||||||
sha256 = "f385168e34d2ef47f976c8e41bad2f58f5ca004634c0ccb1a12623d8beb2fa38";
|
sha256 = "0q012ghssk2xhm17v28sc2lv62vk7wd5p7zzdbgxk6kywfx8yvm2";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ requests six zeroconf protobuf casttube ];
|
disabled = !isPy3k;
|
||||||
|
|
||||||
|
propagatedBuildInputs = [ requests zeroconf protobuf casttube ];
|
||||||
|
|
||||||
meta = with lib; {
|
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;
|
homepage = https://github.com/balloob/pychromecast;
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ abbradar ];
|
maintainers = with maintainers; [ abbradar ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user