2022-03-09 18:25:13 +00:00
|
|
|
{ lib, fetchFromGitHub, rustPlatform, stdenv, libiconv }:
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "cargo-nextest";
|
2022-03-23 06:39:19 +00:00
|
|
|
version = "0.9.11";
|
2022-03-09 18:25:13 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "nextest-rs";
|
|
|
|
repo = "nextest";
|
|
|
|
rev = "cargo-nextest-${version}";
|
2022-03-23 06:39:19 +00:00
|
|
|
sha256 = "sha256-aXGXn6kxw37v0fn2SPQnGCdTg1CFJK03OIAgFjvaxpc=";
|
2022-03-09 18:25:13 +00:00
|
|
|
};
|
|
|
|
|
2022-03-23 06:39:19 +00:00
|
|
|
cargoSha256 = "sha256-zuPWF2sxVmlhSMy70yhRZEV6dgL2W8AGkYRbnbJdMpQ=";
|
2022-03-09 18:25:13 +00:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|