diff --git a/pkgs/by-name/va/vault-tasks/package.nix b/pkgs/by-name/va/vault-tasks/package.nix new file mode 100644 index 000000000000..a2fe3177c89e --- /dev/null +++ b/pkgs/by-name/va/vault-tasks/package.nix @@ -0,0 +1,30 @@ +{ + lib, + fetchFromGitHub, + rustPlatform, +}: +rustPlatform.buildRustPackage rec { + pname = "vault-tasks"; + version = "0.4.0"; + src = fetchFromGitHub { + owner = "louis-thevenet"; + repo = "vault-tasks"; + rev = "v${version}"; + hash = "sha256-owpdBkJwSTLtRhPdQMybZpfrZyww1zwFIydFdZb76Uo="; + }; + cargoHash = "sha256-7AZItl459Gsqd6I5MNhJm6cH7Oze3wCsejJGztPSICw="; + + postInstall = "install -Dm444 desktop/vault-tasks.desktop -t $out/share/applications"; + + meta = { + description = "TUI Markdown Task Manager"; + longDescription = '' + vault-tasks is a TUI Markdown task manager. + It will parse any Markdown file or vault and display the tasks it contains. + ''; + homepage = "https://github.com/louis-thevenet/vault-tasks"; + license = lib.licenses.mit; + mainProgram = "vault-tasks"; + maintainers = with lib.maintainers; [ louis-thevenet ]; + }; +}