10 version = "0.8.13-unstable-2023-01-14";
12 src = fetchFromGitHub {
15 rev = "0c55bfe1d3020a20bddf6ce57c0d9d98ccb12586";
16 hash = "sha256-jz7Ef0Eg673IJVZvVNklY40s13LCuMVAc7FGrRI7scQ=";
19 nativeBuildInputs = [ cmake ];
24 cp liblibelf.a $out/lib/libelf.a
25 cp -r $src/include $out/include
30 description = "ELF object file access library (vendored by avrdudes)";
31 homepage = "https://github.com/avrdudes/libelf";
32 license = lib.licenses.lgpl2Plus;
33 platforms = lib.platforms.all;
34 maintainers = [ lib.maintainers.bjornfor ];