nixpkgs/pkgs/tools/networking/moodle-dl/default.nix
2023-05-25 19:03:52 +03:00

32 lines
696 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";
license = licenses.gpl3Plus;
};
}