mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 20:33:21 +00:00
cfa112c835
Changelog: https://nexte.st/CHANGELOG.html
36 lines
1.0 KiB
Nix
36 lines
1.0 KiB
Nix
{ lib, rustPlatform, fetchFromGitHub, stdenv, Security }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "cargo-nextest";
|
|
version = "0.9.44";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "nextest-rs";
|
|
repo = "nextest";
|
|
rev = "cargo-nextest-${version}";
|
|
sha256 = "sha256-hEBRwezymduUlPZTAHAmK5Xkc/6nGr/JDL5TDWUiZO0=";
|
|
};
|
|
|
|
cargoSha256 = "sha256-i7XYDy9NVOszanCGDaoPkc6z5DV8vm6TsekqBkV5eRA=";
|
|
|
|
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 ];
|
|
};
|
|
}
|