nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 rustPlatform,
4 fetchFromGitHub,
5 nix-update-script,
6}:
7
8rustPlatform.buildRustPackage rec {
9 pname = "cargo-nextest";
10 version = "0.9.101";
11
12 src = fetchFromGitHub {
13 owner = "nextest-rs";
14 repo = "nextest";
15 rev = "cargo-nextest-${version}";
16 hash = "sha256-yaRwHQopkkZ8gLEhuJuzAiY/enWNdL3B+POGV2ykOWA=";
17 };
18
19 cargoHash = "sha256-F26/IDq3/Il6BBCkKUy59T47sI20DAabeSjt3Kdqu+Y=";
20
21 cargoBuildFlags = [
22 "-p"
23 "cargo-nextest"
24 ];
25 cargoTestFlags = [
26 "-p"
27 "cargo-nextest"
28 ];
29
30 passthru.updateScript = nix-update-script { };
31
32 meta = with lib; {
33 description = "Next-generation test runner for Rust projects";
34 mainProgram = "cargo-nextest";
35 homepage = "https://github.com/nextest-rs/nextest";
36 changelog = "https://nexte.st/CHANGELOG.html";
37 license = with licenses; [
38 mit
39 asl20
40 ];
41 maintainers = with maintainers; [
42 ekleog
43 figsoda
44 matthiasbeyer
45 ];
46 };
47}