depot/third_party/nixpkgs/pkgs/development/tools/rust/cargo-nextest/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

29 lines
893 B
Nix

{ lib, rustPlatform, fetchFromGitHub, nix-update-script }:
rustPlatform.buildRustPackage rec {
pname = "cargo-nextest";
version = "0.9.78";
src = fetchFromGitHub {
owner = "nextest-rs";
repo = "nextest";
rev = "cargo-nextest-${version}";
hash = "sha256-nQIq/WCbB3iWxDdD13tthvmndYhccttcOeXWJ7Dri+0=";
};
cargoHash = "sha256-XGDPxak2jVKkGyhPMpW4KxzyMd5aaIj1Hguw+XEM7w8=";
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 ];
};
}