python.pkgs: move my several packages to separate files
This commit is contained in:
21
pkgs/development/python-modules/pychromecast/default.nix
Normal file
21
pkgs/development/python-modules/pychromecast/default.nix
Normal file
@@ -0,0 +1,21 @@
|
||||
{ lib, fetchurl, buildPythonPackage, requests, six, zeroconf, protobuf }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
name = "PyChromecast-${version}";
|
||||
version = "0.8.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://pypi/p/pychromecast/${name}.tar.gz";
|
||||
sha256 = "05rlr2hjng0xg2a9k9vwmrlvd7vy9sjhxxfl96kx25xynlkq6yq6";
|
||||
};
|
||||
|
||||
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;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user