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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
661 B
Nix
Raw Normal View History

{ lib, fetchFromGitHub, rustPlatform }:
2019-04-10 10:05:24 +00:00
rustPlatform.buildRustPackage rec {
2019-04-11 20:33:28 +00:00
pname = "cargo-xbuild";
2022-02-04 09:32:26 +00:00
version = "0.6.5";
2019-04-10 10:05:24 +00:00
src = fetchFromGitHub {
owner = "rust-osdev";
2019-04-11 20:33:28 +00:00
repo = pname;
2019-07-17 17:02:53 +00:00
rev = "v${version}";
2022-02-04 09:32:26 +00:00
sha256 = "sha256-bnceN47OFGlxs3ibcKoZFjoTgXRQxA2ZqxnthJ/fsqE=";
2019-04-10 10:05:24 +00:00
};
2022-02-04 09:32:26 +00:00
cargoSha256 = "sha256-qMPJC61ZVW9olMgNnGrvcQ/je4se4J5gOVoaOpNMUo8=";
2019-04-10 10:05:24 +00:00
meta = with lib; {
2019-04-10 10:05:24 +00:00
description = "Automatically cross-compiles the sysroot crates core, compiler_builtins, and alloc";
2019-06-14 03:24:26 +00:00
homepage = "https://github.com/rust-osdev/cargo-xbuild";
2019-04-10 10:05:24 +00:00
license = with licenses; [ mit asl20 ];
2020-08-15 03:21:34 +00:00
maintainers = with maintainers; [ johntitor xrelkd ];
2019-04-10 10:05:24 +00:00
};
}