2021-06-01 11:26:59 +00:00
|
|
|
{ lib
|
|
|
|
, python3Packages
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
pname = "pferd";
|
2024-04-15 06:39:40 +00:00
|
|
|
version = "3.5.2";
|
2021-06-01 11:26:59 +00:00
|
|
|
format = "pyproject";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Garmelon";
|
|
|
|
repo = "PFERD";
|
2022-10-26 20:00:20 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
2024-04-15 06:39:40 +00:00
|
|
|
sha256 = "sha256-qN4GtQhiQpXZIagtphcn+oSYXroA9kk7E34IKoKMu7c=";
|
2021-06-01 11:26:59 +00:00
|
|
|
};
|
|
|
|
|
2022-09-19 02:03:03 +00:00
|
|
|
nativeBuildInputs = with python3Packages; [
|
|
|
|
setuptools
|
|
|
|
];
|
|
|
|
|
2021-06-01 11:26:59 +00: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 01:17:53 +00:00
|
|
|
mainProgram = "pferd";
|
2021-06-01 11:26:59 +00:00
|
|
|
};
|
|
|
|
}
|