aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/pychromecast/default.nix
diff options
context:
space:
mode:
authorKatharina Fey <kookie@spacekookie.de>2019-10-05 12:43:18 +0000
committerKatharina Fey <kookie@spacekookie.de>2019-10-05 12:44:52 +0000
commitcf85056ba64caf3267d43255ef4a1243e9c8ee3b (patch)
tree3051519e9c8275b870aac43f80af875715c9d124 /nixpkgs/pkgs/development/python-modules/pychromecast/default.nix
parent1148b1d122bc03e9a3665856c9b7bb96bd4e3994 (diff)
parent2436c27541b2f52deea3a4c1691216a02152e729 (diff)
Add 'nixpkgs/' from commit '2436c27541b2f52deea3a4c1691216a02152e729'
git-subtree-dir: nixpkgs git-subtree-mainline: 1148b1d122bc03e9a3665856c9b7bb96bd4e3994 git-subtree-split: 2436c27541b2f52deea3a4c1691216a02152e729
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/pychromecast/default.nix')
-rw-r--r--nixpkgs/pkgs/development/python-modules/pychromecast/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/pychromecast/default.nix b/nixpkgs/pkgs/development/python-modules/pychromecast/default.nix
new file mode 100644
index 00000000000..ead5a24bbdb
--- /dev/null
+++ b/nixpkgs/pkgs/development/python-modules/pychromecast/default.nix
@@ -0,0 +1,23 @@
+{ lib, fetchPypi, buildPythonPackage, requests, zeroconf, protobuf, casttube, isPy3k }:
+
+buildPythonPackage rec {
+ pname = "PyChromecast";
+ version = "3.2.3";
+
+ src = fetchPypi {
+ inherit pname version;
+ sha256 = "1fhh3djb6chs23j46hwzm1rd6hypkl517vjmmg44rxnslkcl7dhb";
+ };
+
+ 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.unix;
+ };
+}