python3Packages.PyChromecast: 9.3.1 -> 10.1.1
This commit is contained in:
parent
6e692e2048
commit
547190bdac
1 changed files with 31 additions and 13 deletions
|
@ -1,27 +1,45 @@
|
||||||
{ lib, fetchPypi, buildPythonPackage, requests, zeroconf, protobuf, casttube, isPy3k }:
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, casttube
|
||||||
|
, fetchPypi
|
||||||
|
, isPy3k
|
||||||
|
, protobuf
|
||||||
|
, requests
|
||||||
|
, zeroconf
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "PyChromecast";
|
pname = "pychromecast";
|
||||||
version = "9.3.1";
|
version = "10.1.1";
|
||||||
|
format = "setuptools";
|
||||||
src = fetchPypi {
|
|
||||||
inherit pname version;
|
|
||||||
sha256 = "a1d6807ae0fc455aaeecd2def87c31bb86679a2920cacfa7910db9c9db5085d4";
|
|
||||||
};
|
|
||||||
|
|
||||||
disabled = !isPy3k;
|
disabled = !isPy3k;
|
||||||
|
|
||||||
propagatedBuildInputs = [ requests zeroconf protobuf casttube ];
|
src = fetchPypi {
|
||||||
|
pname = "PyChromecast";
|
||||||
|
inherit version;
|
||||||
|
sha256 = "sha256-M6R9VRrotvkxKVZIKOcuf03LJsn4gSMohwzzAO5FQ48=";
|
||||||
|
};
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
casttube
|
||||||
|
protobuf
|
||||||
|
requests
|
||||||
|
zeroconf
|
||||||
|
];
|
||||||
|
|
||||||
# no tests available
|
# no tests available
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
pythonImportsCheck = [ "pychromecast" ];
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"pychromecast"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Library for Python to communicate with the Google Chromecast";
|
description = "Library for Python to communicate with the Google Chromecast";
|
||||||
homepage = "https://github.com/home-assistant-libs/pychromecast";
|
homepage = "https://github.com/home-assistant-libs/pychromecast";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ abbradar ];
|
maintainers = with maintainers; [ abbradar ];
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue