1be0098156
GitOrigin-RevId: 667e5581d16745bcda791300ae7e2d73f49fff25
28 lines
858 B
Nix
28 lines
858 B
Nix
{ lib, rustPlatform, fetchFromGitHub, stdenv, Security }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "cargo-nextest";
|
|
version = "0.9.43";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "nextest-rs";
|
|
repo = "nextest";
|
|
rev = "cargo-nextest-${version}";
|
|
sha256 = "sha256-7Ujm5xqgyw4/P/XBZKh9yE9sWz9n+WmZbGdmif9oK+w=";
|
|
};
|
|
|
|
cargoSha256 = "sha256-S46W+6+FyjI8BrdedDCzHHK+j3EyofQ9u8Ut1yr1/TI=";
|
|
|
|
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
|
|
|
|
cargoBuildFlags = [ "-p" "cargo-nextest" ];
|
|
cargoTestFlags = [ "-p" "cargo-nextest" ];
|
|
|
|
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 ];
|
|
};
|
|
}
|