Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 31 lines 754 B view raw
1{ 2 lib, 3 rustPlatform, 4 fetchFromGitHub, 5}: 6 7rustPlatform.buildRustPackage rec { 8 pname = "rhai-doc"; 9 version = "0.2.3"; 10 11 src = fetchFromGitHub { 12 owner = "rhaiscript"; 13 repo = "rhai-doc"; 14 rev = "v${version}"; 15 hash = "sha256-GZq5C8Q95OHKftEkps4Y6X6sAc4pzSfSq3ELUW/kPWI="; 16 }; 17 18 cargoHash = "sha256-Lk/vbYxBcK676qusl6mWO38RAkCuiyHwZLcJpcHrdO4="; 19 20 meta = with lib; { 21 description = "Tool to auto-generate documentation for Rhai source code"; 22 homepage = "https://github.com/rhaiscript/rhai-doc"; 23 changelog = "https://github.com/rhaiscript/rhai-doc/releases/tag/${src.rev}"; 24 license = with licenses; [ 25 asl20 26 mit 27 ]; 28 maintainers = with maintainers; [ figsoda ]; 29 mainProgram = "rhai-doc"; 30 }; 31}