2017-07-26 19:32:29 +02:00
|
|
|
{ lib, fetchurl, buildPythonPackage, requests, six, zeroconf, protobuf }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2017-11-09 12:26:09 +01:00
|
|
|
pname = "PyChromecast";
|
2017-12-30 12:25:55 +01:00
|
|
|
version = "1.0.3";
|
2017-11-09 12:26:09 +01:00
|
|
|
name = pname + "-" + version;
|
2017-07-26 19:32:29 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://pypi/p/pychromecast/${name}.tar.gz";
|
2017-12-30 12:25:55 +01:00
|
|
|
sha256 = "714a9e03e6a258081e3b6296ed15592e015facbe38bbe60819cca6f04c599f25";
|
2017-07-26 19:32:29 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ requests six zeroconf protobuf ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Library for Python 2 and 3 to communicate with the Google Chromecast";
|
|
|
|
homepage = "https://github.com/balloob/pychromecast";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ abbradar ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|