python312Packages.icontract: relax deps (#380554)
[NixPkgs.git] / pkgs / by-name / rh / rhai-doc / package.nix
blobaa8793f859ee5ca5e419fbb34a795a536cf51ef2
2   lib,
3   rustPlatform,
4   fetchFromGitHub,
5 }:
7 rustPlatform.buildRustPackage rec {
8   pname = "rhai-doc";
9   version = "0.2.3";
11   src = fetchFromGitHub {
12     owner = "rhaiscript";
13     repo = "rhai-doc";
14     rev = "v${version}";
15     hash = "sha256-GZq5C8Q95OHKftEkps4Y6X6sAc4pzSfSq3ELUW/kPWI=";
16   };
18   useFetchCargoVendor = true;
19   cargoHash = "sha256-Lk/vbYxBcK676qusl6mWO38RAkCuiyHwZLcJpcHrdO4=";
21   meta = with lib; {
22     description = "Tool to auto-generate documentation for Rhai source code";
23     homepage = "https://github.com/rhaiscript/rhai-doc";
24     changelog = "https://github.com/rhaiscript/rhai-doc/releases/tag/${src.rev}";
25     license = with licenses; [
26       asl20
27       mit
28     ];
29     maintainers = with maintainers; [ figsoda ];
30     mainProgram = "rhai-doc";
31   };