nixpkgs/pkgs/development/tools/rust/cargo-xbuild/default.nix

23 lines
673 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";
2020-08-15 04:21:34 +01:00
version = "0.6.0";
2019-04-10 11:05:24 +01:00
src = fetchFromGitHub {
owner = "rust-osdev";
2019-04-11 21:33:28 +01:00
repo = pname;
2019-07-17 18:02:53 +01:00
rev = "v${version}";
2020-08-15 04:21:34 +01:00
sha256 = "0kmnwx2fg4nq009dzwk840z8n4rayvpk6hjpryczv56sjdcqm2zv";
2019-04-10 11:05:24 +01:00
};
2020-08-15 04:21:34 +01:00
cargoSha256 = "0vnhaf7b2ai151wjadgj7pm5hdcj7rv1ckj5mjn74r3vvds2jdn7";
2019-04-10 11:05:24 +01:00
meta = with stdenv.lib; {
description = "Automatically cross-compiles the sysroot crates core, compiler_builtins, and alloc";
2019-06-14 04:24:26 +01:00
homepage = "https://github.com/rust-osdev/cargo-xbuild";
2019-04-10 11:05:24 +01:00
license = with licenses; [ mit asl20 ];
2020-08-15 04:21:34 +01:00
maintainers = with maintainers; [ johntitor xrelkd ];
2019-04-10 11:05:24 +01:00
};
}