From fd3d2c33dab269d70564cd986d1177f83d0947d9 Mon Sep 17 00:00:00 2001 From: Alexey Lebedeff Date: Tue, 31 Jan 2023 20:09:33 +0100 Subject: [PATCH] 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. --- pkgs/applications/misc/coursera-dl/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/misc/coursera-dl/default.nix b/pkgs/applications/misc/coursera-dl/default.nix index 343848e673d..2d719e321fe 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; {