11 # Workaround to allow easily overriding runtime inputs
22 rustPlatform.buildRustPackage rec {
26 src = fetchFromGitHub {
29 rev = "irust@${version}";
30 hash = "sha256-moYHi+hkL2I3jm3eBfaXuK4Zz84Pq2X50V5lKyIMecM=";
33 cargoHash = "sha256-Ecz4JulISoDMrRloqbOP1T+mwoWDV+COwJR/+0fPNXc=";
35 nativeBuildInputs = [ makeWrapper ];
38 wrapProgram $out/bin/irust \
39 --suffix PATH : ${lib.makeBinPath runtimeInputs}
44 "--skip=printer::tests"
47 passthru.updateScript = nix-update-script { };
50 description = "Cross Platform Rust Repl";
51 homepage = "https://github.com/sigmaSd/IRust";
52 license = licenses.mit;
53 maintainers = with maintainers; [ lelgenio ];
54 mainProgram = "irust";