2 , fetchgit, autoconf, automake, pkg-config, help2man
3 , openssl, libuuid, gnu-efi, libbfd
6 stdenv.mkDerivation rec {
11 url = "https://git.kernel.org/pub/scm/linux/kernel/git/jejb/sbsigntools.git";
13 hash = "sha256-5DInWgl1gThjjfGOsts1H1s1GbMCkd0gjbmG3gA3Fhg=";
16 patches = [ ./autoconf.patch ];
18 prePatch = "patchShebangs .";
20 nativeBuildInputs = [ autoconf automake pkg-config help2man ];
21 buildInputs = [ openssl libuuid libbfd gnu-efi ];
24 substituteInPlace configure.ac --replace "@@NIX_GNUEFI@@" "${gnu-efi}"
26 lib/ccan.git/tools/create-ccan-tree --build-type=automake lib/ccan "talloc read_write_all build_assert array_size endian"
30 echo "SUBDIRS = lib/ccan src docs" >> Makefile.am
35 automake --add-missing -Wno-portability
37 ./configure --prefix=$out
41 description = "Tools for maintaining UEFI signature databases";
42 homepage = "http://jk.ozlabs.org/docs/sbkeysync-maintaing-uefi-key-databases";
43 maintainers = with maintainers; [ hmenke raitobezarius ];
44 platforms = [ "x86_64-linux" "aarch64-linux" ]; # Broken on i686
45 license = licenses.gpl3;