Skip to content

Commit 404329d

Browse files
committed
vmlinux-to-elf: init at unstable-2024-07-20
1 parent 61f65fe commit 404329d

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
lib,
3+
fetchFromGitHub,
4+
python3Packages,
5+
}:
6+
python3Packages.buildPythonApplication {
7+
pname = "vmlinux-to-elf";
8+
version = "0-unstable-2024-07-20";
9+
pyproject = true;
10+
11+
src = fetchFromGitHub {
12+
owner = "marin-m";
13+
repo = "vmlinux-to-elf";
14+
rev = "da14e789596d493f305688e221e9e34ebf63cbb8";
15+
hash = "sha256-GVoUIeJeLWCEFzrwiLX2h627ygQ7lX1qMp3hHT5O8O0=";
16+
};
17+
18+
build-system = with python3Packages; [
19+
setuptools
20+
];
21+
22+
dependencies = with python3Packages; [
23+
setuptools
24+
python-lzo
25+
zstandard
26+
lz4
27+
];
28+
29+
meta = {
30+
homepage = "https://github.com/marin-m/vmlinux-to-elf";
31+
description = "Converts a vmlinux/vmlinuz/bzImage/zImage kernel image to an ELF file";
32+
mainProgram = "vmlinux-to-elf";
33+
34+
license = lib.licenses.gpl3;
35+
maintainers = [ lib.maintainers.fidgetingbits ];
36+
};
37+
}

0 commit comments

Comments
 (0)