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

23 lines
703 B
Nix
Raw Normal View History

{ lib, fetchurl, buildPythonPackage, requests, six, zeroconf, protobuf }:
buildPythonPackage rec {
pname = "PyChromecast";
2018-06-12 17:47:04 +01:00
version = "2.2.0";
name = pname + "-" + version;
src = fetchurl {
url = "mirror://pypi/p/pychromecast/${name}.tar.gz";
2018-06-12 17:47:04 +01:00
sha256 = "7c3773c0e134e762fd65a3407e680ab4c5c656fe7c5665b2f8f5ef445c7605a4";
};
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;
};
}