c7f94ff3ce
GitOrigin-RevId: b85ed9dcbf187b909ef7964774f8847d554fab3b
27 lines
733 B
Nix
27 lines
733 B
Nix
{ 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";
|
|
};
|
|
}
|