2022-11-04 12:27:35 +00:00
|
|
|
{ lib, rustPlatform, fetchFromGitHub, stdenv, Security }:
|
2022-03-30 09:31:56 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "cargo-nextest";
|
2022-11-04 12:27:35 +00:00
|
|
|
version = "0.9.43";
|
2022-03-30 09:31:56 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nextest-rs";
|
|
|
|
repo = "nextest";
|
|
|
|
rev = "cargo-nextest-${version}";
|
2022-11-04 12:27:35 +00:00
|
|
|
sha256 = "sha256-7Ujm5xqgyw4/P/XBZKh9yE9sWz9n+WmZbGdmif9oK+w=";
|
2022-03-30 09:31:56 +00:00
|
|
|
};
|
|
|
|
|
2022-11-04 12:27:35 +00:00
|
|
|
cargoSha256 = "sha256-S46W+6+FyjI8BrdedDCzHHK+j3EyofQ9u8Ut1yr1/TI=";
|
2022-06-26 10:26:21 +00:00
|
|
|
|
|
|
|
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
|
2022-03-30 09:31:56 +00:00
|
|
|
|
2022-11-04 12:27:35 +00:00
|
|
|
cargoBuildFlags = [ "-p" "cargo-nextest" ];
|
|
|
|
cargoTestFlags = [ "-p" "cargo-nextest" ];
|
2022-03-30 09:31:56 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Next-generation test runner for Rust projects";
|
|
|
|
homepage = "https://github.com/nextest-rs/nextest";
|
2022-11-04 12:27:35 +00:00
|
|
|
changelog = "https://nexte.st/CHANGELOG.html";
|
2022-03-30 09:31:56 +00:00
|
|
|
license = with licenses; [ mit asl20 ];
|
2022-11-04 12:27:35 +00:00
|
|
|
maintainers = with maintainers; [ ekleog figsoda ];
|
2022-03-30 09:31:56 +00:00
|
|
|
};
|
|
|
|
}
|