8 rustPlatform.buildRustPackage rec {
12 src = fetchFromGitHub {
15 rev = "refs/tags/v${version}";
16 sha256 = "sha256-TFPIQno30Vm5m2nZ2b3d0WPu/98UqANLhw3IZiE5a38=";
19 cargoHash = "sha256-x+DrKo79R8TAeLVuvIIguQs3gdAHiAQ9dUU2/eZRZ0c=";
22 "--skip=docker::shared::tests::directories::test_host"
24 # The following tests require empty CARGO_BUILD_TARGET env variable, but we
25 # set it ever since https://github.com/NixOS/nixpkgs/pull/298108.
26 "--skip=config::tests::test_config::no_env_and_no_toml_default_target_then_none"
27 "--skip=config::tests::test_config::no_env_but_toml_default_target_then_use_toml"
31 updateScript = nix-update-script { };
35 description = "Zero setup cross compilation and cross testing";
36 homepage = "https://github.com/cross-rs/cross";
37 changelog = "https://github.com/cross-rs/cross/blob/v${version}/CHANGELOG.md";
38 license = with licenses; [
42 maintainers = with maintainers; [ otavio ];
43 mainProgram = "cross";