Commit 0e43bf2e authored by Alexandre Esteves's avatar Alexandre Esteves
Browse files

coursera-dl: fix tests

parent 3b4f4560
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
{ 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";