cargo-msrv: init at 0.4.0
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This commit is contained in:
parent
ed22da947c
commit
37bdc088ef
41
pkgs/development/tools/rust/cargo-msrv/default.nix
Normal file
41
pkgs/development/tools/rust/cargo-msrv/default.nix
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
{ lib
|
||||||
|
, rustPlatform
|
||||||
|
, fetchFromGitHub
|
||||||
|
, nix-update-script
|
||||||
|
, pkg-config
|
||||||
|
, openssl
|
||||||
|
}:
|
||||||
|
|
||||||
|
rustPlatform.buildRustPackage rec {
|
||||||
|
pname = "cargo-msrv";
|
||||||
|
version = "0.4.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "foresterre";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "1ynv5d2rxlc1gzq93v8qjyl5063w7q42g9m95250yh2lmf9hdj5i";
|
||||||
|
};
|
||||||
|
|
||||||
|
cargoSha256 = "03rphdps17gzcmf8n5w14x5i5rjnfznsl150s3cz5vzhbmnlpszf";
|
||||||
|
|
||||||
|
passthru = {
|
||||||
|
updateScript = nix-update-script {
|
||||||
|
attrPath = pname;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
# Integration tests fail
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
buildInputs = [ openssl ];
|
||||||
|
|
||||||
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Cargo subcommand \"msrv\": assists with finding your minimum supported Rust version (MSRV)";
|
||||||
|
homepage = "https://github.com/foresterre/cargo-msrv";
|
||||||
|
license = with licenses; [ asl20 /* or */ mit ];
|
||||||
|
maintainers = with maintainers; [ otavio ];
|
||||||
|
};
|
||||||
|
}
|
@ -11475,6 +11475,7 @@ in
|
|||||||
cargo-make = callPackage ../development/tools/rust/cargo-make {
|
cargo-make = callPackage ../development/tools/rust/cargo-make {
|
||||||
inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration;
|
inherit (darwin.apple_sdk.frameworks) Security SystemConfiguration;
|
||||||
};
|
};
|
||||||
|
cargo-msrv = callPackage ../development/tools/rust/cargo-msrv { };
|
||||||
cargo-play = callPackage ../development/tools/rust/cargo-play { };
|
cargo-play = callPackage ../development/tools/rust/cargo-play { };
|
||||||
cargo-raze = callPackage ../development/tools/rust/cargo-raze {
|
cargo-raze = callPackage ../development/tools/rust/cargo-raze {
|
||||||
inherit (darwin.apple_sdk.frameworks) Security;
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user