nixpkgs-suyu/pkgs/tools/networking/moodle-dl/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
727 B
Nix
Raw Normal View History

{ lib, python3Packages, fetchPypi }:
2021-03-30 19:32:10 +02:00
python3Packages.buildPythonApplication rec {
pname = "moodle-dl";
2023-02-26 05:04:58 +01:00
version = "2.2.2.4";
2021-03-30 19:32:10 +02:00
src = fetchPypi {
2021-03-30 19:32:10 +02:00
inherit pname version;
2023-02-26 05:04:58 +01:00
hash = "sha256-76JU/uYJH7nVWCR+d8vvjYCCSMfe/8R9l756AmzZPHU=";
2021-03-30 19:32:10 +02:00
};
propagatedBuildInputs = with python3Packages; [
sentry-sdk
colorama
2023-02-26 05:04:58 +01:00
yt-dlp
2021-03-30 19:32:10 +02:00
certifi
html2text
requests
2023-02-26 05:04:58 +01:00
aioxmpp
2021-03-30 19:32:10 +02:00
];
2023-02-26 05:04:58 +01:00
# upstream has no tests
doCheck = false;
2021-03-30 19:32:10 +02:00
meta = with lib; {
homepage = "https://github.com/C0D3D3V/Moodle-Downloader-2";
maintainers = [ maintainers.kmein ];
description = "A Moodle downloader that downloads course content fast from Moodle";
mainProgram = "moodle-dl";
2021-03-30 19:32:10 +02:00
license = licenses.gpl3Plus;
};
}