nur-packages

My NUR packages
git clone git://git.sikmir.ru/nur-packages
Log | Files | Refs | README | LICENSE

commit e6fca68813da606548efed8cf335c501097047e7
parent 4b1a148751f219d7dda4b6818eefca1d37ddc9f8
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date:   Mon, 11 May 2026 19:27:45 +0400

Add leaf

Diffstat:
Apkgs/by-name/le/leaf/package.nix | 27+++++++++++++++++++++++++++
1 file changed, 27 insertions(+), 0 deletions(-)

diff --git a/pkgs/by-name/le/leaf/package.nix b/pkgs/by-name/le/leaf/package.nix @@ -0,0 +1,27 @@ +{ + lib, + rustPlatform, + fetchFromGitHub, +}: + +rustPlatform.buildRustPackage (finalAttrs: { + pname = "leaf"; + version = "1.21.0"; + + src = fetchFromGitHub { + owner = "RivoLink"; + repo = "leaf"; + tag = finalAttrs.version; + hash = "sha256-i9LVpNhSRXm4eW5xEOANZPCtnExPzgO+0fDZzg634Ic="; + }; + + cargoHash = "sha256-7iw2d5iySMtVUSWptqeO8ZSIMsufdiew6MsxA08PI7U="; + + meta = { + description = "Terminal Markdown previewer"; + homepage = "https://github.com/RivoLink/leaf"; + license = lib.licenses.mit; + maintainers = [ lib.maintainers.sikmir ]; + mainProgram = "leaf"; + }; +})