emmylua-doc-cli: init at 0.10.0 (#431265)

authored by

Yohann Boniface and committed by
GitHub
e88641d4 db234192

+40
+40
pkgs/by-name/em/emmylua-doc-cli/package.nix
··· 1 + { 2 + fetchFromGitHub, 3 + lib, 4 + rustPlatform, 5 + versionCheckHook, 6 + }: 7 + rustPlatform.buildRustPackage (finalAttrs: { 8 + pname = "emmylua_doc_cli"; 9 + version = "0.10.0"; 10 + 11 + src = fetchFromGitHub { 12 + owner = "EmmyLuaLs"; 13 + repo = "emmylua-analyzer-rust"; 14 + tag = finalAttrs.version; 15 + hash = "sha256-Fvg3G0C/YECDEWZ4mDC5b8qocWvyDJ9KdLYNtwIu0+I="; 16 + }; 17 + 18 + buildAndTestSubdir = "crates/emmylua_doc_cli"; 19 + 20 + cargoHash = "sha256-MIGYx1qMxsCCq3QkFeOuKbM4w/sJ2K0T+SRIDJQjf/8="; 21 + 22 + nativeInstallCheckInputs = [ 23 + versionCheckHook 24 + ]; 25 + versionCheckProgram = "${placeholder "out"}/bin/emmylua_doc_cli"; 26 + versionCheckProgramArg = "--version"; 27 + doInstallCheck = true; 28 + 29 + meta = { 30 + description = "Professional documentation generator creating beautiful, searchable API docs from your Lua code and annotations."; 31 + homepage = "https://github.com/EmmyLuaLs/emmylua-analyzer-rust"; 32 + changelog = "https://github.com/EmmyLuaLs/emmylua-analyzer-rust/blob/${finalAttrs.src.tag}/CHANGELOG.md"; 33 + license = lib.licenses.mit; 34 + maintainers = with lib.maintainers; [ 35 + mrcjkb 36 + ]; 37 + platforms = lib.platforms.all; 38 + mainProgram = "emmylua_doc_cli"; 39 + }; 40 + })