diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2021-11-25 14:44:03 +0100 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2021-11-25 14:44:03 +0100 |
commit | 547190bdac4b3864422032a644fc97e8bcc6fdd8 (patch) | |
tree | 80fed9b0a5f134cc377f55146d507310ca9ecc7c /pkgs/development/python-modules/pychromecast | |
parent | 6e692e2048d93dd78a6800307514030d7eb77904 (diff) |
python3Packages.PyChromecast: 9.3.1 -> 10.1.1
Diffstat (limited to 'pkgs/development/python-modules/pychromecast')
-rw-r--r-- | pkgs/development/python-modules/pychromecast/default.nix | 42 |
1 files changed, 30 insertions, 12 deletions
diff --git a/pkgs/development/python-modules/pychromecast/default.nix b/pkgs/development/python-modules/pychromecast/default.nix index 7b14497fce14b..f4b244b5ea67c 100644 --- a/pkgs/development/python-modules/pychromecast/default.nix +++ b/pkgs/development/python-modules/pychromecast/default.nix @@ -1,27 +1,45 @@ -{ lib, fetchPypi, buildPythonPackage, requests, zeroconf, protobuf, casttube, isPy3k }: +{ lib +, buildPythonPackage +, casttube +, fetchPypi +, isPy3k +, protobuf +, requests +, zeroconf +}: buildPythonPackage rec { - pname = "PyChromecast"; - version = "9.3.1"; + pname = "pychromecast"; + version = "10.1.1"; + format = "setuptools"; + + disabled = !isPy3k; src = fetchPypi { - inherit pname version; - sha256 = "a1d6807ae0fc455aaeecd2def87c31bb86679a2920cacfa7910db9c9db5085d4"; + pname = "PyChromecast"; + inherit version; + sha256 = "sha256-M6R9VRrotvkxKVZIKOcuf03LJsn4gSMohwzzAO5FQ48="; }; - disabled = !isPy3k; - - propagatedBuildInputs = [ requests zeroconf protobuf casttube ]; + propagatedBuildInputs = [ + casttube + protobuf + requests + zeroconf + ]; # no tests available doCheck = false; - pythonImportsCheck = [ "pychromecast" ]; + + pythonImportsCheck = [ + "pychromecast" + ]; meta = with lib; { description = "Library for Python to communicate with the Google Chromecast"; - homepage = "https://github.com/home-assistant-libs/pychromecast"; - license = licenses.mit; + homepage = "https://github.com/home-assistant-libs/pychromecast"; + license = licenses.mit; maintainers = with maintainers; [ abbradar ]; - platforms = platforms.unix; + platforms = platforms.unix; }; } |