d2947cfef0
GitOrigin-RevId: 598f83ebeb2235435189cf84d844b8b73e858e0f
31 lines
940 B
Nix
31 lines
940 B
Nix
{ lib, fetchFromGitHub, rustPlatform, stdenv, Security }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "cargo-nextest";
|
|
version = "0.9.37";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "nextest-rs";
|
|
repo = "nextest";
|
|
rev = "cargo-nextest-${version}";
|
|
sha256 = "sha256-fEBTBQyw+yA2O4DGIOcGRo5AqaVZXRNdxi9ImjKiXwE=";
|
|
};
|
|
|
|
cargoSha256 = "sha256-yXkjCZHAH2Rfp0T2v2OoBskolqvUQwTRlF99gI259F8=";
|
|
|
|
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
|
|
|
|
cargoTestFlags = [ # TODO: investigate some more why these tests fail in nix
|
|
"--"
|
|
"--skip=tests_integration::test_relocated_run"
|
|
"--skip=tests_integration::test_run"
|
|
"--skip=tests_integration::test_run_after_build"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Next-generation test runner for Rust projects";
|
|
homepage = "https://github.com/nextest-rs/nextest";
|
|
license = with licenses; [ mit asl20 ];
|
|
maintainers = [ maintainers.ekleog ];
|
|
};
|
|
}
|