2022-11-04 12:27:35 +00:00
|
|
|
{ lib, fetchFromGitHub, rustPlatform }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "lemmy-help";
|
2022-12-17 10:02:37 +00:00
|
|
|
version = "0.10.0";
|
2022-11-04 12:27:35 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "numToStr";
|
|
|
|
repo = "lemmy-help";
|
|
|
|
rev = "v${version}";
|
2022-12-17 10:02:37 +00:00
|
|
|
sha256 = "sha256-gsYVrqPcabLCMYN3Gmr6CXTCKKFAy2rDCxmcRwR1Iic=";
|
2022-11-04 12:27:35 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildFeatures = [ "cli" ];
|
|
|
|
|
2022-12-17 10:02:37 +00:00
|
|
|
cargoSha256 = "sha256-iyMEzxCTxJ/CP3UEnLc4SN5zhIjCLGUl4OOk0u0bCJc=";
|
2022-11-04 12:27:35 +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-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 ];
|
2022-11-04 12:27:35 +00:00
|
|
|
};
|
|
|
|
}
|