1 { lib, stdenv, gnu-efi, openssl, sbsigntool, perl, perlPackages,
3 stdenv.mkDerivation rec {
15 perlPackages.FileSlurp
20 url = "git://git.kernel.org/pub/scm/linux/kernel/git/jejb/efitools.git";
22 sha256 = "0jabgl2pxvfl780yvghq131ylpf82k7banjz0ksjhlm66ik8gb1i";
26 sed -i -e 's#/usr/include/efi#${gnu-efi}/include/efi/#g' Make.rules
27 sed -i -e 's#/usr/lib64/gnuefi#${gnu-efi}/lib/#g' Make.rules
28 sed -i -e 's#$(DESTDIR)/usr#$(out)#g' Make.rules
29 substituteInPlace lib/console.c --replace "EFI_WARN_UNKOWN_GLYPH" "EFI_WARN_UNKNOWN_GLYPH"
34 description = "Tools for manipulating UEFI secure boot platforms";
35 homepage = "https://git.kernel.org/pub/scm/linux/kernel/git/jejb/efitools.git";
36 license = licenses.gpl2;
37 maintainers = [ maintainers.grahamc ];
38 platforms = platforms.linux;