5e9e1146e1
GitOrigin-RevId: 18036c0be90f4e308ae3ebcab0e14aae0336fe42
35 lines
1 KiB
Nix
35 lines
1 KiB
Nix
{ lib, rustPlatform, fetchFromGitHub, stdenv, Security }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "cargo-nextest";
|
|
version = "0.9.57";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "nextest-rs";
|
|
repo = "nextest";
|
|
rev = "cargo-nextest-${version}";
|
|
hash = "sha256-vtKe0cl9PxZgc1zUJQI1YCQm4cRHmzqlBEC4RGUxM44=";
|
|
};
|
|
|
|
cargoHash = "sha256-o7nuDoBpSst84jyAVfrE8pLoYcKMF922r39G+gruBUo=";
|
|
|
|
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 ];
|
|
};
|
|
}
|