From e12eb3ea24df94fe90bf1661d1f711fe6fe80202 Mon Sep 17 00:00:00 2001 From: Louis Thevenet Date: Sun, 22 Dec 2024 11:38:23 +0100 Subject: [PATCH] vault-tasks: 0.6.1 -> 0.8.0 --- pkgs/by-name/va/vault-tasks/package.nix | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/pkgs/by-name/va/vault-tasks/package.nix b/pkgs/by-name/va/vault-tasks/package.nix index eeefef797010e..c7f2e53309eef 100644 --- a/pkgs/by-name/va/vault-tasks/package.nix +++ b/pkgs/by-name/va/vault-tasks/package.nix @@ -2,20 +2,26 @@ lib, fetchFromGitHub, rustPlatform, + nix-update-script, }: -rustPlatform.buildRustPackage rec { +let + version = "0.8.0"; +in +rustPlatform.buildRustPackage { pname = "vault-tasks"; - version = "0.6.1"; + inherit version; src = fetchFromGitHub { owner = "louis-thevenet"; repo = "vault-tasks"; rev = "v${version}"; - hash = "sha256-H0cfzjOtVzOEoGmj3u80hj1QlK1QEgbl9vq4otlXKew="; + hash = "sha256-liU2zxBEOH5KMftru2PaIYZHLskm9WLNmUakn300/Xo="; }; - cargoHash = "sha256-Iezin3TguweHd9RIyFvNL4IWUtXNJbQH2KXIgaXJHgk="; + cargoHash = "sha256-uKhgi3u7YSKLqG2ROCWs6+p206xghnsQ7nIZw5OtkY4="; postInstall = "install -Dm444 desktop/vault-tasks.desktop -t $out/share/applications"; + passthru.updateScript = nix-update-script { }; + meta = { description = "TUI Markdown Task Manager"; longDescription = ''