blob: 56610bbf1482bee1de1e3cecf5287a2f8ea077d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
{
lib,
rustPlatform,
fetchFromGitHub,
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "bootimage";
version = "0.10.3";
src = fetchFromGitHub {
owner = "rust-osdev";
repo = "bootimage";
rev = "v${finalAttrs.version}";
sha256 = "12p18mk3l473is3ydv3zmn6s7ck8wgjwavllimcpja3yjilxm3zg";
};
cargoHash = "sha256-CkFJHW7yrIJi/KMGJgyhnLTMkrxnDwO3X4M1aml9cuM=";
meta = {
description = "Creates a bootable disk image from a Rust OS kernel";
homepage = "https://github.com/rust-osdev/bootimage";
license = with lib.licenses; [
asl20
mit
];
maintainers = with lib.maintainers; [ dbeckwith ];
};
})
|