2024-09-19 14:19:46 +00:00
|
|
|
{ lib, rustPlatform, fetchFromGitHub, nix-update-script }:
|
2022-03-30 09:31:56 +00:00
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "cargo-nextest";
|
2024-10-04 16:56:33 +00:00
|
|
|
version = "0.9.79";
|
2022-03-30 09:31:56 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nextest-rs";
|
|
|
|
repo = "nextest";
|
|
|
|
rev = "cargo-nextest-${version}";
|
2024-10-04 16:56:33 +00:00
|
|
|
hash = "sha256-bP7tOhmfcfAtgL5d/G/B+ZgWeE8Q7f0A09XundTrU3g=";
|
2022-03-30 09:31:56 +00:00
|
|
|
};
|
|
|
|
|
2024-10-04 16:56:33 +00:00
|
|
|
cargoHash = "sha256-dprzi/VRzJBBkZ3xNSYLNAnwdyY+m8wVZbyv41p6v+I=";
|
2022-03-30 09:31:56 +00:00
|
|
|
|
2022-11-04 12:27:35 +00:00
|
|
|
cargoBuildFlags = [ "-p" "cargo-nextest" ];
|
|
|
|
cargoTestFlags = [ "-p" "cargo-nextest" ];
|
2022-03-30 09:31:56 +00:00
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
passthru.updateScript = nix-update-script { };
|
2022-11-21 17:40:18 +00:00
|
|
|
|
2022-03-30 09:31:56 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Next-generation test runner for Rust projects";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "cargo-nextest";
|
2022-03-30 09:31:56 +00:00
|
|
|
homepage = "https://github.com/nextest-rs/nextest";
|
2022-11-04 12:27:35 +00:00
|
|
|
changelog = "https://nexte.st/CHANGELOG.html";
|
2022-03-30 09:31:56 +00:00
|
|
|
license = with licenses; [ mit asl20 ];
|
2023-08-22 20:05:09 +00:00
|
|
|
maintainers = with maintainers; [ ekleog figsoda matthiasbeyer ];
|
2022-03-30 09:31:56 +00:00
|
|
|
};
|
|
|
|
}
|