mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
wealthfolio: init at 1.0.18 (#351459)
This commit is contained in:
commit
304d6bf2eb
64
pkgs/by-name/we/wealthfolio/package.nix
Normal file
64
pkgs/by-name/we/wealthfolio/package.nix
Normal file
@ -0,0 +1,64 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
cargo-tauri,
|
||||
libsoup,
|
||||
nodejs,
|
||||
openssl,
|
||||
pkg-config,
|
||||
pnpm,
|
||||
rustPlatform,
|
||||
webkitgtk_4_0,
|
||||
wrapGAppsHook3,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "wealthfolio";
|
||||
version = "1.0.18";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "afadil";
|
||||
repo = "wealthfolio";
|
||||
rev = "v${finalAttrs.version}";
|
||||
hash = "sha256-AH0bwzsnGaGE82Ds1pDeZkVY2GXEB7RqHYw+WAt69/4=";
|
||||
};
|
||||
|
||||
pnpmDeps = pnpm.fetchDeps {
|
||||
inherit (finalAttrs) src pname version;
|
||||
hash = "sha256-OpQg/ZZ4M2vszMZeCJAKzqGduxexZfIVe3Jy/hG3Yu0=";
|
||||
};
|
||||
|
||||
cargoRoot = "src-tauri";
|
||||
buildAndTestSubdir = finalAttrs.cargoRoot;
|
||||
|
||||
cargoDeps = rustPlatform.fetchCargoTarball {
|
||||
inherit (finalAttrs) pname version src;
|
||||
sourceRoot = "${finalAttrs.src.name}/${finalAttrs.cargoRoot}";
|
||||
hash = "sha256-jbdshb+Kjnh/yKQlCVaYT3/RQ6Zyo2dm72EToLsbqxc=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
cargo-tauri.hook
|
||||
nodejs
|
||||
pkg-config
|
||||
pnpm.configHook
|
||||
rustPlatform.cargoSetupHook
|
||||
wrapGAppsHook3
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libsoup
|
||||
openssl
|
||||
webkitgtk_4_0
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "A Beautiful Private and Secure Desktop Investment Tracking Application";
|
||||
homepage = "https://wealthfolio.app/";
|
||||
license = lib.licenses.agpl3Only;
|
||||
mainProgram = "wealthfolio";
|
||||
maintainers = with lib.maintainers; [ kilianar ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
})
|
Loading…
Reference in New Issue
Block a user