-
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
I had a quick go at building it from source following [the guide] [1], then decided on just wrapping the appimage after running into some python build issues related to the `ruff` linter that was being invoked in a build phase for some reason. I'm sure it's doable with some patching if someone's keen enough, but this at least makes the package available for now. [1]: https://rotki.readthedocs.io/en/latest/installation_guide.html#build-from-source
- Loading branch information
1 parent
c5dcc23
commit a6b05fc
Showing
2 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
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
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,27 @@ | ||
{ | ||
lib, | ||
appimageTools, | ||
fetchurl, | ||
}: | ||
appimageTools.wrapType2 rec { | ||
pname = "rotki-bin"; | ||
version = "1.32.1"; | ||
|
||
src = fetchurl { | ||
url = "https://github.com/rotki/rotki/releases/download/v${version}/rotki-linux_x86_64-v${version}.AppImage"; | ||
sha256 = "sha256-0TRaUQmVoGfJvT6VWkwnVIZpAFJnoUe4jV7Wkf9YkLA="; | ||
}; | ||
|
||
# Rename installed bin to `rotki` to make it easier to specify in `apps.rotki-bin.bin` declaration. | ||
extraInstallCommands = '' | ||
mv "$out/bin/${pname}-${version}" "$out/bin/rotki" | ||
''; | ||
|
||
meta = with lib; { | ||
description = "An open source portfolio tracking tool that respects your privacy"; | ||
homepage = "https://rotki.com/"; | ||
license = licenses.agpl3Plus; | ||
maintainers = with maintainers; [mitchmindtree]; | ||
platforms = platforms.linux; | ||
}; | ||
} |