Files
nixpkgs/pkgs/by-name/vi/vimcats/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

39 lines
1.1 KiB
Nix

{
lib,
fetchFromGitHub,
rustPlatform,
testers,
vimcats,
}:
rustPlatform.buildRustPackage rec {
pname = "vimcats";
version = "1.1.1";
src = fetchFromGitHub {
owner = "mrcjkb";
repo = "vimcats";
rev = "v${version}";
hash = "sha256-BW1pU7NnW8yWePV0IQOUmcNa13NvV9lOZhfnEdQFBQQ=";
};
buildFeatures = [ "cli" ];
cargoHash = "sha256-OGU7jwXOUf+tVECsyKwJQ9vRqTDoV8m/WOlAqTFdfUM=";
passthru.tests.version = testers.testVersion { package = vimcats; };
meta = with lib; {
description = "CLI to generate vim/nvim help doc from LuaCATS. Forked from lemmy-help";
longDescription = ''
`vimcats` is a LuaCATS parser as well as a CLI which takes that parsed tree and converts it into vim help docs.
It is a fork of lemmy-help that aims to support more recent LuaCATS features.
'';
homepage = "https://github.com/mrcjkb/vimcats";
changelog = "https://github.com/mrcjkb/vimcats/CHANGELOG.md";
license = with licenses; [ gpl2Plus ];
maintainers = with maintainers; [ mrcjkb ];
mainProgram = "vimcats";
};
}