nixpkgs/pkgs/by-name/vi/vimcats/package.nix
nicoo 2641d97cbf pkgs/by-name: Convert hashes to SRI format
Reproduction script:
	# Bulk rewrite
	./maintainers/scripts/sha-to-sri.py pkgs/by-name
	# Revert some packages which will need manual intervention
	for n in amdvlk azure-cli cargo-profiler corefonts flatito fluxcd gist perf_data_converter protoc-gen-js solana-cli swt verible; do
		git checkout -- "pkgs/by-name/${n:0:2}/${n}"
	done
2024-09-15 11:24:31 +02:00

39 lines
1.1 KiB
Nix

{
lib,
fetchFromGitHub,
rustPlatform,
testers,
vimcats,
}:
rustPlatform.buildRustPackage rec {
pname = "vimcats";
version = "1.1.0";
src = fetchFromGitHub {
owner = "mrcjkb";
repo = "vimcats";
rev = "v${version}";
hash = "sha256-QV/eIy6yd6Lnmo8XV+E37/oCZCC3jlPu31emH0MgiO4=";
};
buildFeatures = [ "cli" ];
cargoHash = "sha256-LBiuh7OkEoOkoPXCeGnDQLSlRIMkbiWyCv0dk0y7swk=";
passthru.tests.version = testers.testVersion { package = vimcats; };
meta = with lib; {
description = "A 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";
};
}