mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
48 lines
990 B
Nix
48 lines
990 B
Nix
{
|
|
lib,
|
|
rustPlatform,
|
|
fetchFromGitHub,
|
|
nix-update-script,
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "cargo-nextest";
|
|
version = "0.9.97";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "nextest-rs";
|
|
repo = "nextest";
|
|
rev = "cargo-nextest-${version}";
|
|
hash = "sha256-5UhmWewLj3bjtvqyb6FcC1qZQbAutRPXnBi7e/lyArM=";
|
|
};
|
|
|
|
useFetchCargoVendor = true;
|
|
cargoHash = "sha256-mTKcQ76A++LK+54ChmCUF/7dsubdz7GZpOZUp+afqfQ=";
|
|
|
|
cargoBuildFlags = [
|
|
"-p"
|
|
"cargo-nextest"
|
|
];
|
|
cargoTestFlags = [
|
|
"-p"
|
|
"cargo-nextest"
|
|
];
|
|
|
|
passthru.updateScript = nix-update-script { };
|
|
|
|
meta = with lib; {
|
|
description = "Next-generation test runner for Rust projects";
|
|
mainProgram = "cargo-nextest";
|
|
homepage = "https://github.com/nextest-rs/nextest";
|
|
changelog = "https://nexte.st/CHANGELOG.html";
|
|
license = with licenses; [
|
|
mit
|
|
asl20
|
|
];
|
|
maintainers = with maintainers; [
|
|
ekleog
|
|
figsoda
|
|
matthiasbeyer
|
|
];
|
|
};
|
|
}
|