depot/third_party/nixpkgs/pkgs/tools/misc/pferd/default.nix
Default email 5083ee08a2 Project import generated by Copybara.
GitOrigin-RevId: 10ecda252ce1b3b1d6403caeadbcc8f30d5ab796
2022-09-30 06:47:45 -05:00

36 lines
744 B
Nix

{ lib
, python3Packages
, fetchFromGitHub
}:
python3Packages.buildPythonApplication rec {
pname = "pferd";
version = "3.4.1";
format = "pyproject";
src = fetchFromGitHub {
owner = "Garmelon";
repo = "PFERD";
rev = "v${version}";
sha256 = "05f9b7wzld0jcalc7n5h2a6nqjr1w0fxwkd4cih6gkjc9117skii";
};
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 ];
};
}