13 rustPlatform.buildRustPackage rec {
17 src = fetchFromGitHub {
21 sha256 = "sha256-cRdnx9K+EkVEKtPxQk+gXK6nkgkpWhpYij/5e7pFzMU=";
24 cargoHash = "sha256-Hs/bdDpJFQ0w+Ds2L5at06Sw3F+5bXu5HU798gR9/9Q=";
27 updateScript = gitUpdater {
29 ignoredVersions = ".(rc|beta).*";
33 # Integration tests fail
36 buildInputs = lib.optionals stdenv.hostPlatform.isLinux [ openssl ];
43 # Depends at run-time on having rustup in PATH
45 wrapProgram $out/bin/cargo-msrv --prefix PATH : ${lib.makeBinPath [ rustup ]};
49 description = "Cargo subcommand \"msrv\": assists with finding your minimum supported Rust version (MSRV)";
50 mainProgram = "cargo-msrv";
51 homepage = "https://github.com/foresterre/cargo-msrv";
52 license = with licenses; [
56 maintainers = with maintainers; [