Skip to content

Commit

Permalink
traderepublic-portfolio-downloader: init at 0.18.0 (#379381)
Browse files Browse the repository at this point in the history
  • Loading branch information
h7x4 authored Feb 26, 2025
2 parents 8559e57 + ca739b5 commit 21d55dd
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions pkgs/by-name/tr/traderepublic-portfolio-downloader/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
buildGoModule,
fetchFromGitHub,
lib,
}:
buildGoModule rec {
pname = "traderepublic-portfolio-downloader";
version = "0.18.0";

src = fetchFromGitHub {
owner = "dhojayev";
repo = "traderepublic-portfolio-downloader";
tag = "v${version}";
hash = "sha256-U3cyQ449e7whFE5DnOlYL6qdOQgkpLPnd5ZxAG+WkRc=";
};

vendorHash = "sha256-VzBBY1mNbT6qHnsy1GE+jWXHZcUo3TNefQixVFF+HYA=";

postInstall = ''
mv $out/bin/public $out/bin/traderepublic-portfolio-downloader
rm $out/bin/dev
rm $out/bin/example-generator
'';

meta = {
description = "Downloads trade republic portfolio data";
homepage = "https://github.com/dhojayev/traderepublic-portfolio-downloader";
changelog = "https://github.com/dhojayev/traderepublic-portfolio-downloader/releases/tag/v${version}";
license = lib.licenses.gpl3;
mainProgram = "traderepublic-portfolio-downloader";
maintainers = with lib.maintainers; [ seineeloquenz ];
platforms = lib.platforms.linux;
};
}

0 comments on commit 21d55dd

Please sign in to comment.