diff options
author | Alexey Lebedeff <binarin@binarin.ru> | 2023-01-31 20:09:33 +0100 |
---|---|---|
committer | Alexey Lebedeff <binarin@binarin.ru> | 2023-02-02 21:13:31 +0100 |
commit | fd3d2c33dab269d70564cd986d1177f83d0947d9 (patch) | |
tree | 75900a625424f06c6ef8bb081c1af702109b3a4a /pkgs | |
parent | 33d98d1407908781e55aef0674f8d0bad3bcd779 (diff) |
coursera-dl: fix api version problems
The api was changed in November 2022, so the program no longer works - https://github.com/coursera-dl/coursera-dl/issues/834 Doesn't look like it's maintained either, but at least there is a patch that restores the functionality.
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/applications/misc/coursera-dl/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/applications/misc/coursera-dl/default.nix b/pkgs/applications/misc/coursera-dl/default.nix index 343848e673db5..2d719e321fe65 100644 --- a/pkgs/applications/misc/coursera-dl/default.nix +++ b/pkgs/applications/misc/coursera-dl/default.nix @@ -38,9 +38,13 @@ in pythonPackages.buildPythonApplication rec { patches = [ (fetchpatch { - url = "https://github.com/coursera-dl/coursera-dl/pull/789.patch"; + url = "https://github.com/coursera-dl/coursera-dl/commit/c8796e567698be166cb15f54e095140c1a9b567e.patch"; sha256 = "sha256:07ca6zdyw3ypv7yzfv2kzmjvv86h0rwzllcg0zky27qppqz917bv"; }) + (fetchpatch { + url = "https://github.com/coursera-dl/coursera-dl/commit/6c221706ba828285ca7a30a08708e63e3891b36f.patch"; + sha256 = "sha256-/AKFvBPInSq/lsz+G0jVSl/ukVgCnt66oePAb+66AjI="; + }) ]; meta = with lib; { |