nixpkgs/pkgs/development/python-modules/pychromecast/default.nix

24 lines
677 B
Nix
Raw Normal View History

{ lib, fetchPypi, buildPythonPackage, requests, zeroconf, protobuf, casttube, isPy3k }:
buildPythonPackage rec {
pname = "PyChromecast";
2019-10-24 07:47:43 +01:00
version = "4.1.0";
src = fetchPypi {
inherit pname version;
2019-10-24 07:47:43 +01:00
sha256 = "b6979f1ddce1ff8760586aa6b8828290964b38f34c01aa1380ab1740330eeee2";
};
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;
};
}