Skip to content

Commit

Permalink
vmlinux-to-elf: init at unstable-2024-07-20
Browse files Browse the repository at this point in the history
  • Loading branch information
fidgetingbits committed Dec 15, 2024
1 parent 61f65fe commit 404329d
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions pkgs/by-name/vm/vmlinux-to-elf/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
lib,
fetchFromGitHub,
python3Packages,
}:
python3Packages.buildPythonApplication {
pname = "vmlinux-to-elf";
version = "0-unstable-2024-07-20";
pyproject = true;

src = fetchFromGitHub {
owner = "marin-m";
repo = "vmlinux-to-elf";
rev = "da14e789596d493f305688e221e9e34ebf63cbb8";
hash = "sha256-GVoUIeJeLWCEFzrwiLX2h627ygQ7lX1qMp3hHT5O8O0=";
};

build-system = with python3Packages; [
setuptools
];

dependencies = with python3Packages; [
setuptools
python-lzo
zstandard
lz4
];

meta = {
homepage = "https://github.com/marin-m/vmlinux-to-elf";
description = "Converts a vmlinux/vmlinuz/bzImage/zImage kernel image to an ELF file";
mainProgram = "vmlinux-to-elf";

license = lib.licenses.gpl3;
maintainers = [ lib.maintainers.fidgetingbits ];
};
}

0 comments on commit 404329d

Please sign in to comment.