Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 37 lines 834 B view raw
1{ 2 lib, 3 fetchFromGitHub, 4 python3Packages, 5}: 6python3Packages.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}