nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 38 lines 1.1 kB view raw
1{ 2 lib, 3 fetchFromGitHub, 4 rustPlatform, 5 testers, 6 vimcats, 7}: 8 9rustPlatform.buildRustPackage rec { 10 pname = "vimcats"; 11 version = "1.1.1"; 12 13 src = fetchFromGitHub { 14 owner = "mrcjkb"; 15 repo = "vimcats"; 16 rev = "v${version}"; 17 hash = "sha256-BW1pU7NnW8yWePV0IQOUmcNa13NvV9lOZhfnEdQFBQQ="; 18 }; 19 20 buildFeatures = [ "cli" ]; 21 22 cargoHash = "sha256-OGU7jwXOUf+tVECsyKwJQ9vRqTDoV8m/WOlAqTFdfUM="; 23 24 passthru.tests.version = testers.testVersion { package = vimcats; }; 25 26 meta = with lib; { 27 description = "CLI to generate vim/nvim help doc from LuaCATS. Forked from lemmy-help"; 28 longDescription = '' 29 `vimcats` is a LuaCATS parser as well as a CLI which takes that parsed tree and converts it into vim help docs. 30 It is a fork of lemmy-help that aims to support more recent LuaCATS features. 31 ''; 32 homepage = "https://github.com/mrcjkb/vimcats"; 33 changelog = "https://github.com/mrcjkb/vimcats/CHANGELOG.md"; 34 license = with licenses; [ gpl2Plus ]; 35 maintainers = with maintainers; [ mrcjkb ]; 36 mainProgram = "vimcats"; 37 }; 38}