a66bca1520
GitOrigin-RevId: 40f79f003b6377bd2f4ed4027dde1f8f922995dd
35 lines
1 KiB
Nix
35 lines
1 KiB
Nix
{ lib, rustPlatform, fetchFromGitHub, stdenv, Security }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "cargo-nextest";
|
|
version = "0.9.47";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "nextest-rs";
|
|
repo = "nextest";
|
|
rev = "cargo-nextest-${version}";
|
|
sha256 = "sha256-G7Y2x9aRcQB28uR2TlyG8JW9kYSD9iMPASd0VFXOxcE=";
|
|
};
|
|
|
|
cargoSha256 = "sha256-7fesLvkHPpPS4xKn3r6hLjQzP0udm92BsVPhdckTk7c=";
|
|
|
|
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
|
|
|
|
cargoBuildFlags = [ "-p" "cargo-nextest" ];
|
|
cargoTestFlags = [ "-p" "cargo-nextest" ];
|
|
|
|
# TODO: investigate some more why these tests fail in nix
|
|
checkFlags = [
|
|
"--skip=tests_integration::test_list"
|
|
"--skip=tests_integration::test_relocated_run"
|
|
"--skip=tests_integration::test_run"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Next-generation test runner for Rust projects";
|
|
homepage = "https://github.com/nextest-rs/nextest";
|
|
changelog = "https://nexte.st/CHANGELOG.html";
|
|
license = with licenses; [ mit asl20 ];
|
|
maintainers = with maintainers; [ ekleog figsoda ];
|
|
};
|
|
}
|