2022-11-03 23:50:48 +01:00
|
|
|
{ lib, fetchFromGitHub, rustPlatform }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "lemmy-help";
|
2022-12-30 18:38:13 +01:00
|
|
|
version = "0.11.0";
|
2022-11-03 23:50:48 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "numToStr";
|
|
|
|
repo = "lemmy-help";
|
|
|
|
rev = "v${version}";
|
2022-12-30 18:38:13 +01:00
|
|
|
sha256 = "sha256-HcIvHuuzQj4HsRJyn1A9nXiGDGAcz1nqTsC7sROt7OI=";
|
2022-11-03 23:50:48 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildFeatures = [ "cli" ];
|
|
|
|
|
2022-12-30 18:38:13 +01:00
|
|
|
cargoSha256 = "sha256-BCwpiBPvnLgbpOaXgUK2EDXnT8d4jo7aqgM6uwl80eg=";
|
2022-11-03 23:50:48 +01: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 16:43:51 +01:00
|
|
|
changelog = "https://github.com/numToStr/lemmy-help/releases/tag/v${version}";
|
2022-11-03 23:50:48 +01:00
|
|
|
license = with licenses; [ mit ];
|
2022-12-06 16:43:51 +01:00
|
|
|
maintainers = with maintainers; [ figsoda ];
|
2023-11-27 02:17:53 +01:00
|
|
|
mainProgram = "lemmy-help";
|
2022-11-03 23:50:48 +01:00
|
|
|
};
|
|
|
|
}
|