nixpkgs/pkgs/tools/misc/pferd/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

38 lines
780 B
Nix
Raw Normal View History

2021-06-01 13:26:59 +02:00
{ lib
, python3Packages
, fetchFromGitHub
}:
python3Packages.buildPythonApplication rec {
pname = "pferd";
2023-09-14 12:13:18 +02:00
version = "3.5.0";
2021-06-01 13:26:59 +02:00
format = "pyproject";
src = fetchFromGitHub {
owner = "Garmelon";
repo = "PFERD";
2022-10-26 22:00:20 +02:00
rev = "refs/tags/v${version}";
2023-09-14 12:13:18 +02:00
sha256 = "sha256-iGMqKRM/8pnnew/U1r7Od9Giyn9z4BxVGO85nw3FI9Y=";
2021-06-01 13:26:59 +02:00
};
nativeBuildInputs = with python3Packages; [
setuptools
];
2021-06-01 13:26:59 +02:00
propagatedBuildInputs = with python3Packages; [
aiohttp
beautifulsoup4
rich
keyring
certifi
];
meta = with lib; {
homepage = "https://github.com/Garmelon/PFERD";
description = "Tool for downloading course-related files from ILIAS";
license = licenses.mit;
maintainers = with maintainers; [ _0xbe7a ];
2023-11-27 02:17:53 +01:00
mainProgram = "pferd";
2021-06-01 13:26:59 +02:00
};
}