Skip to content

Commit

Permalink
traderepublic-portfolio-downloader: init at 0.17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
SeineEloquenz committed Feb 22, 2025
1 parent bffdf87 commit 4626b38
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.17.0";

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

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 4626b38

Please sign in to comment.