cargo-xbuild: init at 0.5.7 (#59228)

This commit is contained in:
xrelkd 2019-04-10 18:05:24 +08:00 committed by xeji
parent d7d5bab30e
commit 57705705ae
2 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,22 @@
{ stdenv, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
name = "cargo-xbuild-${version}";
version = "0.5.7";
src = fetchFromGitHub {
owner = "rust-osdev";
repo = "cargo-xbuild";
rev = "v${version}";
sha256 = "11hjyf16m4ri4c912jsdmqq88xcrys119135nz48y5p7b4yp0s7a";
};
cargoSha256 = "077qiqm470iqcgxqjzbmzxikxd5862vyg788hacli4yzpvyaq9r9";
meta = with stdenv.lib; {
description = "Automatically cross-compiles the sysroot crates core, compiler_builtins, and alloc";
homepage = https://github.com/rust-osdev/cargo-xbuild;
license = with licenses; [ mit asl20 ];
platforms = platforms.all;
};
}

View File

@ -7695,6 +7695,7 @@ in
inherit (darwin.apple_sdk.frameworks) Security;
};
cargo-fuzz = callPackage ../development/tools/rust/cargo-fuzz { };
cargo-xbuild = callPackage ../development/tools/rust/cargo-xbuild { };
pyo3-pack = callPackage ../development/tools/rust/pyo3-pack { };
rainicorn = callPackage ../development/tools/rust/rainicorn { };