depot/third_party/nixpkgs/pkgs/tools/misc/lemmy-help/default.nix
Default email a66bca1520 Project import generated by Copybara.
GitOrigin-RevId: 40f79f003b6377bd2f4ed4027dde1f8f922995dd
2022-12-17 11:02:37 +01:00

28 lines
888 B
Nix

{ lib, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
pname = "lemmy-help";
version = "0.10.0";
src = fetchFromGitHub {
owner = "numToStr";
repo = "lemmy-help";
rev = "v${version}";
sha256 = "sha256-gsYVrqPcabLCMYN3Gmr6CXTCKKFAy2rDCxmcRwR1Iic=";
};
buildFeatures = [ "cli" ];
cargoSha256 = "sha256-iyMEzxCTxJ/CP3UEnLc4SN5zhIjCLGUl4OOk0u0bCJc=";
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";
changelog = "https://github.com/numToStr/lemmy-help/releases/tag/v${version}";
license = with licenses; [ mit ];
maintainers = with maintainers; [ figsoda ];
};
}