depot/third_party/nixpkgs/pkgs/development/tools/rust/cargo-nextest/default.nix
Default email 3a4df29a92 Project import generated by Copybara.
GitOrigin-RevId: 3d7435c638baffaa826b85459df0fff47f12317d
2022-06-16 19:23:12 +02:00

29 lines
879 B
Nix

{ lib, fetchFromGitHub, rustPlatform, stdenv, libiconv }:
rustPlatform.buildRustPackage rec {
pname = "cargo-nextest";
version = "0.9.20";
src = fetchFromGitHub {
owner = "nextest-rs";
repo = "nextest";
rev = "cargo-nextest-${version}";
sha256 = "sha256-dsXjoXoFliaALA/tz8/QqC5FpapE/E9nNMJYgvkI+nw=";
};
cargoSha256 = "sha256-3aooeKfQtElWuGtdh0gYvdm62Cm7IhebsintQgOi1Mo=";
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 ];
};
}