Merge pull request #250599 from figsoda/rhai-doc

rhai-doc: init at 0.2.3
This commit is contained in:
Theodore Ni 2023-08-22 02:37:48 -07:00 committed by GitHub
commit 2a92f2ef2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,27 @@
{ lib
, rustPlatform
, fetchFromGitHub
}:
rustPlatform.buildRustPackage rec {
pname = "rhai-doc";
version = "0.2.3";
src = fetchFromGitHub {
owner = "rhaiscript";
repo = "rhai-doc";
rev = "v${version}";
hash = "sha256-GZq5C8Q95OHKftEkps4Y6X6sAc4pzSfSq3ELUW/kPWI=";
};
cargoHash = "sha256-dJMqaDQVSrvZPwjPFixgqRRzxPJW/f1nO+81kHwGmYU=";
meta = with lib; {
description = "Tool to auto-generate documentation for Rhai source code";
homepage = "https://github.com/rhaiscript/rhai-doc";
changelog = "https://github.com/rhaiscript/rhai-doc/releases/tag/${src.rev}";
license = with licenses; [ asl20 mit ];
maintainers = with maintainers; [ figsoda ];
mainProgram = "rhai-doc";
};
}

View File

@ -12486,6 +12486,8 @@ with pkgs;
rekor-cli
rekor-server;
rhai-doc = callPackage ../development/tools/misc/rhai-doc { };
rich-cli = callPackage ../misc/rich-cli { };
richgo = callPackage ../development/tools/richgo { };