nvcat: init at 0.1.5 (#475795)

This commit is contained in:
Yohann Boniface
2026-01-04 17:54:48 +00:00
committed by GitHub
2 changed files with 49 additions and 0 deletions
+6
View File
@@ -19623,6 +19623,12 @@
githubId = 14004859;
name = "Ole Mussmann";
};
olillin = {
email = "oli@olillin.com";
github = "olillin";
githubId = 55047947;
name = "Oli";
};
oliver-koss = {
email = "oliver.koss06@gmail.com";
github = "oliver-koss";
+43
View File
@@ -0,0 +1,43 @@
{
lib,
buildGoModule,
fetchFromGitHub,
nix-update-script,
}:
buildGoModule (finalAttrs: {
pname = "nvcat";
version = "0.1.5";
src = fetchFromGitHub {
owner = "brianhuster";
repo = "nvcat";
tag = "v${finalAttrs.version}";
hash = "sha256-F23trNMmoifPyOVp5hK+xUM3m96PIBniO9mmyfTMnFE=";
};
vendorHash = "sha256-IZ1+RAKKYG9TblT30FmqMGswnUrzLdrK+haNmqGdGSk=";
ldflags = [
"-s"
"-w"
];
passthru.updateScript = nix-update-script {
extraArgs = [
"--version-regex"
"v(.+)"
];
};
meta = {
description = "`cat` but with syntax highlighting powered by Neovim";
homepage = "https://github.com/brianhuster/nvcat";
changelog = "https://github.com/brianhuster/nvcat/releases/tag/v${finalAttrs.version}";
license = lib.licenses.asl20;
longDescription = ''
A command-line utility that displays files with Neovim's syntax highlighting in the terminal.
'';
mainProgram = "nvcat";
maintainers = with lib.maintainers; [ olillin ];
};
})