diff options
author | Alexandre Esteves <alexandre.fmp.esteves@gmail.com> | 2021-08-01 15:54:54 +0100 |
---|---|---|
committer | Alexandre Esteves <alexandre.fmp.esteves@gmail.com> | 2021-08-01 15:54:54 +0100 |
commit | 0e43bf2e5c1d7960edcfdce49df6fb4b30b322a5 (patch) | |
tree | 989877b63b47a542cf7301d7ec0706cab57169cf /pkgs/applications/misc/coursera-dl | |
parent | 3b4f4560d286847dab73d412567da48411db861c (diff) | |
download | nixpkgs-0e43bf2e5c1d7960edcfdce49df6fb4b30b322a5.tar nixpkgs-0e43bf2e5c1d7960edcfdce49df6fb4b30b322a5.tar.gz nixpkgs-0e43bf2e5c1d7960edcfdce49df6fb4b30b322a5.tar.bz2 nixpkgs-0e43bf2e5c1d7960edcfdce49df6fb4b30b322a5.tar.lz nixpkgs-0e43bf2e5c1d7960edcfdce49df6fb4b30b322a5.tar.xz nixpkgs-0e43bf2e5c1d7960edcfdce49df6fb4b30b322a5.tar.zst nixpkgs-0e43bf2e5c1d7960edcfdce49df6fb4b30b322a5.zip |
coursera-dl: fix tests
Diffstat (limited to 'pkgs/applications/misc/coursera-dl')
-rw-r--r-- | pkgs/applications/misc/coursera-dl/default.nix | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/pkgs/applications/misc/coursera-dl/default.nix b/pkgs/applications/misc/coursera-dl/default.nix index 954501c0b7f..13386699ecb 100644 --- a/pkgs/applications/misc/coursera-dl/default.nix +++ b/pkgs/applications/misc/coursera-dl/default.nix @@ -1,4 +1,4 @@ -{ lib, fetchFromGitHub, glibcLocales, pandoc, python3 }: +{ lib, fetchFromGitHub, fetchpatch, glibcLocales, pandoc, python3 }: let pythonPackages = python3.pkgs; @@ -36,6 +36,13 @@ in pythonPackages.buildPythonApplication rec { py.test -k 'not test_get_credentials_with_keyring' . ''; + patches = [ + (fetchpatch { + url = "https://github.com/coursera-dl/coursera-dl/pull/789.patch"; + sha256 = "sha256:07ca6zdyw3ypv7yzfv2kzmjvv86h0rwzllcg0zky27qppqz917bv"; + }) + ]; + meta = with lib; { description = "CLI for downloading Coursera.org videos and naming them"; homepage = "https://github.com/coursera-dl/coursera-dl"; |