2021-06-04 09:07:49 +00:00
|
|
|
{ lib
|
|
|
|
, python3Packages
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
pname = "pferd";
|
2022-08-21 13:32:41 +00:00
|
|
|
version = "3.4.1";
|
2021-06-04 09:07:49 +00:00
|
|
|
format = "pyproject";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Garmelon";
|
|
|
|
repo = "PFERD";
|
|
|
|
rev = "v${version}";
|
2022-08-21 13:32:41 +00:00
|
|
|
sha256 = "05f9b7wzld0jcalc7n5h2a6nqjr1w0fxwkd4cih6gkjc9117skii";
|
2021-06-04 09:07:49 +00:00
|
|
|
};
|
|
|
|
|
2022-09-30 11:47:45 +00:00
|
|
|
nativeBuildInputs = with python3Packages; [
|
|
|
|
setuptools
|
|
|
|
];
|
|
|
|
|
2021-06-04 09:07:49 +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 ];
|
|
|
|
};
|
|
|
|
}
|