nixpkgs/pkgs/tools/misc/lemmy-help/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
920 B
Nix
Raw Normal View History

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