2022-11-03 22:50:48 +00:00
|
|
|
{ lib, fetchFromGitHub, rustPlatform }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "lemmy-help";
|
2022-12-30 17:38:13 +00:00
|
|
|
version = "0.11.0";
|
2022-11-03 22:50:48 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "numToStr";
|
|
|
|
repo = "lemmy-help";
|
|
|
|
rev = "v${version}";
|
2022-12-30 17:38:13 +00:00
|
|
|
sha256 = "sha256-HcIvHuuzQj4HsRJyn1A9nXiGDGAcz1nqTsC7sROt7OI=";
|
2022-11-03 22:50:48 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildFeatures = [ "cli" ];
|
|
|
|
|
2022-12-30 17:38:13 +00:00
|
|
|
cargoSha256 = "sha256-BCwpiBPvnLgbpOaXgUK2EDXnT8d4jo7aqgM6uwl80eg=";
|
2022-11-03 22:50:48 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A CLI for generating vim help docs from emmylua comments";
|
|
|
|
longDescription = ''
|
|
|
|
`lemmy-help` is an emmylua parser as well as a CLI which takes that parsed tree and converts it into vim help docs.
|
|
|
|
'';
|
|
|
|
homepage = "https://github.com/numToStr/lemmy-help";
|
2022-12-06 15:43:51 +00:00
|
|
|
changelog = "https://github.com/numToStr/lemmy-help/releases/tag/v${version}";
|
2022-11-03 22:50:48 +00:00
|
|
|
license = with licenses; [ mit ];
|
2022-12-06 15:43:51 +00:00
|
|
|
maintainers = with maintainers; [ figsoda ];
|
2023-11-27 01:17:53 +00:00
|
|
|
mainProgram = "lemmy-help";
|
2022-11-03 22:50:48 +00:00
|
|
|
};
|
|
|
|
}
|