3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/rust/cargo-xbuild/default.nix

24 lines
695 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.19";
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}";
sha256 = "0j15d52bpl3k6jw0hzcxdvjayd2azdp5b9s2fq3ywd4zbda8rqp7";
2019-04-10 11:05:24 +01:00
};
cargoSha256 = "1pj4x8y5vfpnn8vhxqqm3vicn29870r3jh0b17q3riq4vz1a2afp";
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 ];
2019-05-25 02:49:23 +01:00
maintainers = with maintainers; [ xrelkd ];
2019-04-10 11:05:24 +01:00
platforms = platforms.all;
};
}