10 stdenv.mkDerivation rec {
12 version = "0-unstable-2024-11-14";
15 url = "https://review.coreboot.org/em100";
16 # No git tags available. Use latest rev from the main branch.
17 rev = "a78b4ba4774f05ecd7af495604b437113596d70e";
18 hash = "sha256-jzP56SMMiWiOynW17CFksi1VhpGt4oYYJrf4Rp9Vfs4=";
21 nativeBuildInputs = [ pkg-config ];
35 install -Dm755 em100 $out/bin/em100
36 install -Dm755 makedpfw $out/bin/makedpfw
37 install -Dm644 60-dediprog-em100pro.rules $out/lib/udev/rules.d/dediprog_em100.rules
42 homepage = "https://www.coreboot.org";
43 description = "Open source tool for the EM100 SPI flash emulator";
44 license = licenses.gpl2;
45 maintainers = with maintainers; [ felixsinger ];
46 platforms = platforms.linux;
47 mainProgram = "em100";