2023-05-25 18:03:52 +02:00
|
|
|
{ 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
|
|
|
|
2023-05-25 18:03:52 +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";
|
2024-03-19 03:14:51 +01:00
|
|
|
mainProgram = "moodle-dl";
|
2021-03-30 19:32:10 +02:00
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
};
|
|
|
|
}
|