2021-06-01 13:26:59 +02:00
|
|
|
{ lib
|
|
|
|
, python3Packages
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
pname = "pferd";
|
2022-01-18 14:39:40 +01:00
|
|
|
version = "3.3.1";
|
2021-06-01 13:26:59 +02:00
|
|
|
format = "pyproject";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Garmelon";
|
|
|
|
repo = "PFERD";
|
|
|
|
rev = "v${version}";
|
2022-01-18 14:39:40 +01:00
|
|
|
sha256 = "162s966kmpngmp0h55x185qxsy96q2kxz2dd8w0zyh0n2hbap3lh";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|