depot/third_party/nixpkgs/pkgs/development/tools/rust/cargo-nextest/default.nix

30 lines
893 B
Nix
Raw Normal View History

{ 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 ];
};
}