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 = ''