2021-04-05 15:23:46 +00:00
|
|
|
{ lib, python3Packages }:
|
|
|
|
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
pname = "moodle-dl";
|
2023-03-04 12:14:45 +00:00
|
|
|
version = "2.2.2.4";
|
2021-04-05 15:23:46 +00:00
|
|
|
|
|
|
|
src = python3Packages.fetchPypi {
|
|
|
|
inherit pname version;
|
2023-03-04 12:14:45 +00:00
|
|
|
hash = "sha256-76JU/uYJH7nVWCR+d8vvjYCCSMfe/8R9l756AmzZPHU=";
|
2021-04-05 15:23:46 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3Packages; [
|
|
|
|
sentry-sdk
|
|
|
|
colorama
|
2023-03-04 12:14:45 +00:00
|
|
|
yt-dlp
|
2021-04-05 15:23:46 +00:00
|
|
|
certifi
|
|
|
|
html2text
|
|
|
|
requests
|
2023-03-04 12:14:45 +00:00
|
|
|
aioxmpp
|
2021-04-05 15:23:46 +00:00
|
|
|
];
|
|
|
|
|
2023-03-04 12:14:45 +00:00
|
|
|
# upstream has no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-04-05 15:23:46 +00: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";
|
|
|
|
license = licenses.gpl3Plus;
|
|
|
|
};
|
|
|
|
}
|