nixpkgs/pkgs/tools/misc/gummiboot/default.nix

31 lines
837 B
Nix
Raw Normal View History

{ stdenv, fetchurl, gnu_efi, unzip, pkgconfig, utillinux, libxslt, docbook_xsl, docbook_xml_dtd_42 }:
2013-02-01 23:42:19 +01:00
stdenv.mkDerivation rec {
name = "gummiboot-23";
2013-02-01 23:42:19 +01:00
buildInputs = [ unzip pkgconfig utillinux libxslt docbook_xsl docbook_xml_dtd_42 ];
2013-02-01 23:42:19 +01:00
patches = [ ./no-usr.patch ];
buildFlags = [ "GNU_EFI=${gnu_efi}" ];
2013-02-01 23:42:19 +01:00
makeFlags = [ "PREFIX=$(out)" ];
2013-02-01 23:42:19 +01:00
src = fetchurl {
url = "http://cgit.freedesktop.org/gummiboot/snapshot/${name}.zip";
sha256 = "1lmfk4k52ha00ppna5g7h51vhd27i9fipf5k7mc2d9jkm2480z4j";
2013-02-01 23:42:19 +01:00
};
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
};
}