diff options
author | Jonathan Ringer <jonringer117@gmail.com> | 2020-08-27 08:45:27 -0700 |
---|---|---|
committer | Jon <jonringer@users.noreply.github.com> | 2020-09-04 11:03:02 -0700 |
commit | d32c43763939a777bfcde097a283fb0e5b8c1c34 (patch) | |
tree | 64a9fa9aea9984fc8a96771ac597886df3792fbe /pkgs/applications/video/catt | |
parent | b23f1442c5e92d1509bde5ca02349acb7fa9106f (diff) |
catt: fix pychromecast version
Diffstat (limited to 'pkgs/applications/video/catt')
-rw-r--r-- | pkgs/applications/video/catt/default.nix | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/pkgs/applications/video/catt/default.nix b/pkgs/applications/video/catt/default.nix index 7f2b85511518d..d22657d651cbc 100644 --- a/pkgs/applications/video/catt/default.nix +++ b/pkgs/applications/video/catt/default.nix @@ -1,12 +1,19 @@ -{ buildPythonApplication, fetchPypi, lib -, youtube-dl -, PyChromecast -, click -, ifaddr -, requests -}: +{ lib, python3 }: -buildPythonApplication rec { +let + py = python3.override { + packageOverrides = self: super: { + PyChromecast = super.PyChromecast.overridePythonAttrs (oldAttrs: rec { + version = "6.0.0"; + src = oldAttrs.src.override { + inherit version; + sha256 = "05f8r3b2pdqbl76hwi5sv2xdi1r7g9lgm69x8ja5g22mn7ysmghm"; + }; + }); + }; + }; + +in with py.pkgs; buildPythonApplication rec { pname = "catt"; version = "0.11.0"; |