2013-02-01 23:42:19 +01:00
|
|
|
{ stdenv, fetchurl, gnu_efi }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "gummiboot-16";
|
|
|
|
|
|
|
|
patches = [ ./no-usr.patch ];
|
|
|
|
|
|
|
|
buildFlags = [
|
|
|
|
"GNU_EFI=${gnu_efi}"
|
2013-02-02 17:02:44 +01:00
|
|
|
] ++ stdenv.lib.optional (stdenv.system == "i686-linux") "ARCH=ia32";
|
2013-02-01 23:42:19 +01:00
|
|
|
|
|
|
|
installPhase = "mkdir -p $out/bin; mv gummiboot.efi $out/bin";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://cgit.freedesktop.org/gummiboot/snapshot/${name}.tar.gz";
|
|
|
|
sha256 = "1znvbxrhc7pkbhbw9bvg4zhfkp81q7fy4mq2jsw6vimccr7h29a0";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A simple UEFI boot manager which executes configured EFI images";
|
|
|
|
|
|
|
|
homepage = http://freedesktop.org/wiki/Software/gummiboot;
|
|
|
|
|
|
|
|
license = stdenv.lib.licenses.lgpl21Plus;
|
|
|
|
|
2013-02-02 17:02:44 +01:00
|
|
|
platforms = [ "x86_64-linux" "i686-linux" ];
|
2013-02-01 23:50:41 +01:00
|
|
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.shlevy ];
|
2013-02-01 23:42:19 +01:00
|
|
|
};
|
|
|
|
}
|