-
-
Notifications
You must be signed in to change notification settings - Fork 15.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
traderepublic-portfolio-downloader: init at 0.15.0
- Loading branch information
1 parent
bffdf87
commit 8b19b89
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
33 changes: 33 additions & 0 deletions
33
pkgs/by-name/tr/traderepublic-portfolio-downloader/package.nix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
buildGoModule, | ||
fetchFromGitHub, | ||
lib, | ||
}: | ||
buildGoModule rec { | ||
pname = "traderepublic-portfolio-downloader"; | ||
version = "0.15.0"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "dhojayev"; | ||
repo = "traderepublic-portfolio-downloader"; | ||
rev = "v${version}"; | ||
sha256 = "sha256-tlrIYAJu8RXcvESKbdtJw4bkB6I+/gtvwAfjho8Fpt0="; | ||
}; | ||
|
||
vendorHash = "sha256-wZbqXDh+ugCaCP7U724bP/z2Hqxp0eN03TvsAs7sMLw="; | ||
|
||
postInstall = '' | ||
mv $out/bin/public $out/bin/traderepublic-portfolio-downloader | ||
rm $out/bin/dev | ||
rm $out/bin/example-generator | ||
''; | ||
|
||
meta = with lib; { | ||
description = "Downloads trade republic portfolio data"; | ||
homepage = "https://github.com/dhojayev/traderepublic-portfolio-downloader"; | ||
license = licenses.gpl3; | ||
mainProgram = "traderepublic-portfolio-downloader"; | ||
maintainers = with maintainers; [ seineeloquenz ]; | ||
platforms = platforms.linux; | ||
}; | ||
} |