2022-11-04 12:27:35 +00:00
|
|
|
{ lib, fetchFromGitHub, rustPlatform }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "lemmy-help";
|
2023-01-11 07:51:40 +00:00
|
|
|
version = "0.11.0";
|
2022-11-04 12:27:35 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "numToStr";
|
|
|
|
repo = "lemmy-help";
|
|
|
|
rev = "v${version}";
|
2023-01-11 07:51:40 +00:00
|
|
|
sha256 = "sha256-HcIvHuuzQj4HsRJyn1A9nXiGDGAcz1nqTsC7sROt7OI=";
|
2022-11-04 12:27:35 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildFeatures = [ "cli" ];
|
|
|
|
|
2024-07-31 10:19:44 +00:00
|
|
|
cargoHash = "sha256-BCwpiBPvnLgbpOaXgUK2EDXnT8d4jo7aqgM6uwl80eg=";
|
2022-11-04 12:27:35 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "CLI for generating vim help docs from emmylua comments";
|
2022-11-04 12:27:35 +00:00
|
|
|
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-17 10:02:37 +00:00
|
|
|
changelog = "https://github.com/numToStr/lemmy-help/releases/tag/v${version}";
|
2022-11-04 12:27:35 +00:00
|
|
|
license = with licenses; [ mit ];
|
2022-12-17 10:02:37 +00:00
|
|
|
maintainers = with maintainers; [ figsoda ];
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "lemmy-help";
|
2022-11-04 12:27:35 +00:00
|
|
|
};
|
|
|
|
}
|