17 rustPlatform.buildRustPackage {
18 inherit pname version;
19 src = fetchFromGitHub {
23 hash = "sha256-VdIIcpyoCuid3MECVc9aKeIOUlxGlxcG7znqbqo9pjc=";
26 cargoHash = "sha256-AU6OUGSWuxKmdoQLk+UiFzA7NRviDAgXrBDMdkjxOpA=";
28 # Disabled test that does not work well in an isolated environment
30 "--skip=run_compilation_success"
31 "--skip=run_test_success"
39 buildInputs = lib.optionals stdenv.hostPlatform.isDarwin (
40 with darwin.apple_sdk.frameworks; [ CoreServices ]
44 wrapProgram $out/bin/rustlings --suffix PATH : ${
54 description = "Explore the Rust programming language and learn more about it while doing exercises";
55 homepage = "https://rustlings.cool/";
56 changelog = "https://github.com/rust-lang/rustlings/releases";
57 license = lib.licenses.mit;
58 maintainers = with lib.maintainers; [ luftmensch-luftmensch ];
59 mainProgram = "rustlings";