3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/pychromecast/default.nix
Vladimír Čunát 71f4ba29a3
Merge branch 'master' into staging-next
Hydra nixpkgs: ?compare=1506218
2019-02-22 17:51:01 +01:00

24 lines
677 B
Nix

{ lib, fetchPypi, buildPythonPackage, requests, zeroconf, protobuf, casttube, isPy3k }:
buildPythonPackage rec {
pname = "PyChromecast";
version = "2.5.1";
src = fetchPypi {
inherit pname version;
sha256 = "936672df42f25f271c806569ee4fb7abbc0d6c17e15deba5d6c9f1128ff6974e";
};
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;
};
}