nixpkgs/pkgs/tools/misc/pferd/default.nix

33 lines
677 B
Nix
Raw Normal View History

2021-06-01 13:26:59 +02:00
{ lib
, python3Packages
, fetchFromGitHub
}:
python3Packages.buildPythonApplication rec {
pname = "pferd";
2021-08-05 20:18:14 +02:00
version = "3.2.0";
2021-06-01 13:26:59 +02:00
format = "pyproject";
src = fetchFromGitHub {
owner = "Garmelon";
repo = "PFERD";
rev = "v${version}";
2021-08-05 20:18:14 +02:00
sha256 = "0r75a128r8ghrccc1flmpxblfrab5kg6fypzrlfmv2aqhkqg1brb";
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 ];
};
}