Merge pull request #132320 from alexfmpe/fix-coursera-dl

coursera-dl: fix tests
This commit is contained in:
davidak 2021-08-02 06:23:28 +02:00 committed by GitHub
commit 1424f9ac4a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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";