nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 python3Packages,
4 fetchFromGitHub,
5}:
6python3Packages.buildPythonApplication rec {
7 pname = "pferd";
8 version = "3.8.3";
9 pyproject = true;
10
11 src = fetchFromGitHub {
12 owner = "Garmelon";
13 repo = "PFERD";
14 tag = "v${version}";
15 sha256 = "sha256-ea/9+9zRlRfblPYfI40IPjHWPneXaAqtRp0Cb/FT+lg=";
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 = {
31 homepage = "https://github.com/Garmelon/PFERD";
32 description = "Tool for downloading course-related files from ILIAS";
33 license = lib.licenses.mit;
34 maintainers = with lib.maintainers; [ _0xbe7a ];
35 mainProgram = "pferd";
36 };
37}