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

30 lines
920 B
Nix
Raw Normal View History

{ stdenv, fetchurl, gnu-efi, unzip, pkgconfig, utillinux, libxslt, docbook_xsl, docbook_xml_dtd_42 }:
2013-02-01 22:42:19 +00:00
stdenv.mkDerivation rec {
2015-05-20 07:27:03 +00:00
name = "gummiboot-48";
2013-02-01 22:42:19 +00:00
buildInputs = [ gnu-efi pkgconfig libxslt utillinux ];
# Sigh, gummiboot should be able to find this in buildInputs
configureFlags = [
"--with-efi-includedir=${gnu-efi}/include"
"--with-efi-libdir=${gnu-efi}/lib"
"--with-efi-ldsdir=${gnu-efi}/lib"
];
2013-02-01 22:42:19 +00:00
src = fetchurl {
2015-05-20 07:27:03 +00:00
url = http://pkgs.fedoraproject.org/repo/pkgs/gummiboot/gummiboot-48.tar.xz/05ef3951e8322b76c31f2fd14efdc185/gummiboot-48.tar.xz;
sha256 = "1bzygyglgglhb3aj77w2qcb0dz9sxgb7lq5krxf6417431h198rg";
2013-02-01 22:42:19 +00: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 16:02:44 +00:00
platforms = [ "x86_64-linux" "i686-linux" ];
2013-02-01 22:42:19 +00:00
};
}