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";
|
2018-06-12 18:47:04 +02:00
|
|
|
version = "2.2.0";
|
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";
|
2018-06-12 18:47:04 +02:00
|
|
|
sha256 = "7c3773c0e134e762fd65a3407e680ab4c5c656fe7c5665b2f8f5ef445c7605a4";
|
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";
|
2018-02-25 17:47:45 +01:00
|
|
|
homepage = https://github.com/balloob/pychromecast;
|
2017-07-26 19:32:29 +02:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ abbradar ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|