5e7c2d6cef
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
36 lines
753 B
Nix
36 lines
753 B
Nix
{ lib
|
|
, python3Packages
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "pferd";
|
|
version = "3.5.0";
|
|
format = "pyproject";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Garmelon";
|
|
repo = "PFERD";
|
|
rev = "refs/tags/v${version}";
|
|
sha256 = "sha256-iGMqKRM/8pnnew/U1r7Od9Giyn9z4BxVGO85nw3FI9Y=";
|
|
};
|
|
|
|
nativeBuildInputs = with python3Packages; [
|
|
setuptools
|
|
];
|
|
|
|
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 ];
|
|
};
|
|
}
|