13da32182d
GitOrigin-RevId: a7855f2235a1876f97473a76151fec2afa02b287
31 lines
940 B
Nix
31 lines
940 B
Nix
{ lib, fetchFromGitHub, rustPlatform, stdenv, Security }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "cargo-nextest";
|
|
version = "0.9.34";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "nextest-rs";
|
|
repo = "nextest";
|
|
rev = "cargo-nextest-${version}";
|
|
sha256 = "sha256-lGsQcOK/sm6/EEgB/o/zVWJfjIUppH08s/gwqejzS+U=";
|
|
};
|
|
|
|
cargoSha256 = "sha256-lj8spttijptuC1y3MfKBAQ3SAKW3D5tOmI8+1+wsWE0=";
|
|
|
|
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 ];
|
|
};
|
|
}
|