ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
32 lines
727 B
Nix
32 lines
727 B
Nix
{ lib, python3Packages, fetchPypi }:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "moodle-dl";
|
|
version = "2.2.2.4";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-76JU/uYJH7nVWCR+d8vvjYCCSMfe/8R9l756AmzZPHU=";
|
|
};
|
|
|
|
propagatedBuildInputs = with python3Packages; [
|
|
sentry-sdk
|
|
colorama
|
|
yt-dlp
|
|
certifi
|
|
html2text
|
|
requests
|
|
aioxmpp
|
|
];
|
|
|
|
# upstream has no tests
|
|
doCheck = false;
|
|
|
|
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";
|
|
license = licenses.gpl3Plus;
|
|
};
|
|
}
|