1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/tools/rust/cargo-xbuild/default.nix

23 lines
644 B
Nix
Raw Normal View History

2019-04-10 11:05:24 +01:00
{ stdenv, fetchFromGitHub, rustPlatform }:
rustPlatform.buildRustPackage rec {
2019-04-11 21:33:28 +01:00
pname = "cargo-xbuild";
version = "0.5.8";
2019-04-10 11:05:24 +01:00
src = fetchFromGitHub {
owner = "rust-osdev";
2019-04-11 21:33:28 +01:00
repo = pname;
2019-04-10 11:05:24 +01:00
rev = "v${version}";
2019-04-11 21:33:28 +01:00
sha256 = "1ckrvgdjwkxvy3rc6kix9maynn87al0n7lsjshc9mdmkyvvx8h55";
2019-04-10 11:05:24 +01:00
};
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;
};
}