2020-03-26 14:33:11 +00:00
|
|
|
{ sources ? import ./sources.nix, rust ? import ./rust.nix { }
|
|
|
|
, pkgs ? import sources.nixpkgs { } }:
|
|
|
|
|
|
|
|
with pkgs;
|
|
|
|
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
|
|
pname = "bootimage";
|
2020-04-18 21:26:33 +00:00
|
|
|
version = "0.7.9";
|
2020-03-26 14:33:11 +00:00
|
|
|
|
|
|
|
inherit rust;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "rust-osdev";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-04-18 21:26:33 +00:00
|
|
|
sha256 = "03pqia1gi2i1dacnxmc2ryspdim2a8dinhipagnbb402q58qbvw9";
|
2020-03-26 14:33:11 +00:00
|
|
|
};
|
|
|
|
|
2020-04-18 21:36:26 +00:00
|
|
|
cargoSha256 = "0lasshl4iwv6lrc65588rd4h4mh8h2cv1qfdnqy7mhrbmxrzxvyc";
|
2020-03-26 14:33:11 +00:00
|
|
|
}
|
|
|
|
|