9 python3Packages.buildPythonApplication rec {
14 src = fetchFromGitHub {
17 rev = "refs/tags/v${version}";
18 hash = "sha256-sMDWL0lA5iJ2v2dhUIhMgSZ1vk7LjkNMYZGiJRpd3XY=";
21 build-system = with python3Packages; [
26 dependencies = with python3Packages; [
39 nativeBuildInputs = [ installShellFiles ];
42 installShellCompletion --cmd pytr \
43 --bash <($out/bin/pytr completion bash) \
44 --zsh <($out/bin/pytr completion zsh)
47 nativeCheckInputs = [ versionCheckHook ];
49 pythonImportsCheck = [ "pytr" ];
52 changelog = "https://github.com/pytr-org/pytr/releases/tag/${lib.removePrefix "refs/tags/" src.rev}";
53 description = "Use TradeRepublic in terminal and mass download all documents";
54 homepage = "https://github.com/pytr-org/pytr";
55 license = lib.licenses.mit;
57 maintainers = with lib.maintainers; [ dotlambda ];