5e7c2d6cef
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
22 lines
657 B
Nix
22 lines
657 B
Nix
{ lib, fetchFromGitHub, rustPlatform }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "cargo-xbuild";
|
|
version = "0.6.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "rust-osdev";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
hash = "sha256-29rCjmzxxIjR5nBN2J3xxP+r8NnPIJV90FkSQQEBbo4=";
|
|
};
|
|
|
|
cargoHash = "sha256-tyPhKWDSDNxQy+vpWNS5VP5D8TkUR7MJSAlG8wZsDy4=";
|
|
|
|
meta = with 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 ];
|
|
maintainers = with maintainers; [ johntitor xrelkd ];
|
|
};
|
|
}
|