cargo-nextest: init at 0.9.10

This commit is contained in:
Léo Gaspard 2022-03-09 19:25:13 +01:00 committed by Léo Gaspard
parent db0fa0744c
commit 89127cbe69
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,29 @@
{ lib, fetchFromGitHub, rustPlatform, stdenv, libiconv }:
rustPlatform.buildRustPackage rec {
pname = "cargo-nextest";
version = "0.9.10";
src = fetchFromGitHub {
owner = "nextest-rs";
repo = "nextest";
rev = "cargo-nextest-${version}";
sha256 = "0gbh990dd4514bfqh4x2nymh5w608ljp3s7akq100m4v723b6339";
};
cargoSha256 = "0c0i274dkz3jx9dzcxl9hyf3imiga8vb6m6jc5z1f1wdq3vknh9r";
cargoTestFlags = [ # TODO: investigate some more why these tests fail in nix
"--"
"--skip=tests_integration::test_relocated_run"
"--skip=tests_integration::test_run"
"--skip=tests_integration::test_run_after_build"
];
meta = with lib; {
description = "Next-generation test runner for Rust projects";
homepage = "https://github.com/nextest-rs/nextest";
license = with licenses; [ mit asl20 ];
maintainers = [ maintainers.ekleog ];
};
}

View File

@ -13323,6 +13323,7 @@ with pkgs;
cargo-msrv = callPackage ../development/tools/rust/cargo-msrv {
inherit (darwin.apple_sdk.frameworks) Security;
};
cargo-nextest = callPackage ../development/tools/rust/cargo-nextest { };
cargo-play = callPackage ../development/tools/rust/cargo-play { };
cargo-raze = callPackage ../development/tools/rust/cargo-raze {
inherit (darwin.apple_sdk.frameworks) Security;