mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 11:53:27 +00:00
e5f757e73a
This change is necessary for PFERD to work with ILIAS v8.
38 lines
780 B
Nix
38 lines
780 B
Nix
{ lib
|
|
, python3Packages
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
pname = "pferd";
|
|
version = "3.5.2";
|
|
format = "pyproject";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Garmelon";
|
|
repo = "PFERD";
|
|
rev = "refs/tags/v${version}";
|
|
sha256 = "sha256-qN4GtQhiQpXZIagtphcn+oSYXroA9kk7E34IKoKMu7c=";
|
|
};
|
|
|
|
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 ];
|
|
mainProgram = "pferd";
|
|
};
|
|
}
|