coursera-dl: fix tests

+8 -1
+8 -1
pkgs/applications/misc/coursera-dl/default.nix
··· 1 - { lib, fetchFromGitHub, glibcLocales, pandoc, python3 }: 2 3 let 4 pythonPackages = python3.pkgs; ··· 35 # requires dbus service 36 py.test -k 'not test_get_credentials_with_keyring' . 37 ''; 38 39 meta = with lib; { 40 description = "CLI for downloading Coursera.org videos and naming them";
··· 1 + { lib, fetchFromGitHub, fetchpatch, glibcLocales, pandoc, python3 }: 2 3 let 4 pythonPackages = python3.pkgs; ··· 35 # requires dbus service 36 py.test -k 'not test_get_credentials_with_keyring' . 37 ''; 38 + 39 + patches = [ 40 + (fetchpatch { 41 + url = "https://github.com/coursera-dl/coursera-dl/pull/789.patch"; 42 + sha256 = "sha256:07ca6zdyw3ypv7yzfv2kzmjvv86h0rwzllcg0zky27qppqz917bv"; 43 + }) 44 + ]; 45 46 meta = with lib; { 47 description = "CLI for downloading Coursera.org videos and naming them";