vault-tasks: init at 0.4.0 (#354744)

This commit is contained in:
Aleksana
2024-11-23 19:53:54 +08:00
committed by GitHub
+30
View File
@@ -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 ];
};
}