nixpkgs/pkgs/tools/misc/gummiboot/default.nix
Shea Levy 754f9a44fd Gummiboot: Update to 23.
Requires a corresponding change in nixos to work there.
2013-02-21 12:39:25 -05:00

31 lines
837 B
Nix

{ stdenv, fetchurl, gnu_efi, unzip, pkgconfig, utillinux, libxslt, docbook_xsl, docbook_xml_dtd_42 }:
stdenv.mkDerivation rec {
name = "gummiboot-23";
buildInputs = [ unzip pkgconfig utillinux libxslt docbook_xsl docbook_xml_dtd_42 ];
patches = [ ./no-usr.patch ];
buildFlags = [ "GNU_EFI=${gnu_efi}" ];
makeFlags = [ "PREFIX=$(out)" ];
src = fetchurl {
url = "http://cgit.freedesktop.org/gummiboot/snapshot/${name}.zip";
sha256 = "1lmfk4k52ha00ppna5g7h51vhd27i9fipf5k7mc2d9jkm2480z4j";
};
meta = {
description = "A simple UEFI boot manager which executes configured EFI images";
homepage = http://freedesktop.org/wiki/Software/gummiboot;
license = stdenv.lib.licenses.lgpl21Plus;
platforms = [ "x86_64-linux" "i686-linux" ];
maintainers = [ stdenv.lib.maintainers.shlevy ];
};
}