Skip to content

Commit

Permalink
moodle-dl: 2.1.2.5 -> 2.2.2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
dotlambda committed Feb 28, 2023
1 parent d718936 commit 9e56d6e
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions pkgs/tools/networking/moodle-dl/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,26 @@

python3Packages.buildPythonApplication rec {
pname = "moodle-dl";
version = "2.1.2.5";
version = "2.2.2.4";

src = python3Packages.fetchPypi {
inherit pname version;
sha256 = "1gc4037dwyi48h4vi0bam23rr7pfyn6jrz334radz0r6rk94y8lz";
hash = "sha256-76JU/uYJH7nVWCR+d8vvjYCCSMfe/8R9l756AmzZPHU=";
};

# nixpkgs (and the GitHub upstream for readchar) are missing 2.0.1
postPatch = ''
substituteInPlace setup.py --replace 'readchar>=2.0.1' 'readchar>=2.0.0'
'';

propagatedBuildInputs = with python3Packages; [
sentry-sdk
colorama
readchar
youtube-dl
yt-dlp
certifi
html2text
requests
slixmpp
aioxmpp
];

# upstream has no tests
doCheck = false;

meta = with lib; {
homepage = "https://github.com/C0D3D3V/Moodle-Downloader-2";
maintainers = [ maintainers.kmein ];
Expand Down

0 comments on commit 9e56d6e

Please sign in to comment.