lol
1{ lib
2, python3Packages
3, fetchFromGitHub
4}:
5
6python3Packages.buildPythonApplication rec {
7 pname = "pferd";
8 version = "3.5.0";
9 format = "pyproject";
10
11 src = fetchFromGitHub {
12 owner = "Garmelon";
13 repo = "PFERD";
14 rev = "refs/tags/v${version}";
15 sha256 = "sha256-iGMqKRM/8pnnew/U1r7Od9Giyn9z4BxVGO85nw3FI9Y=";
16 };
17
18 nativeBuildInputs = with python3Packages; [
19 setuptools
20 ];
21
22 propagatedBuildInputs = with python3Packages; [
23 aiohttp
24 beautifulsoup4
25 rich
26 keyring
27 certifi
28 ];
29
30 meta = with lib; {
31 homepage = "https://github.com/Garmelon/PFERD";
32 description = "Tool for downloading course-related files from ILIAS";
33 license = licenses.mit;
34 maintainers = with maintainers; [ _0xbe7a ];
35 };
36}