mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 14:41:17 +00:00
Add rEFInd
svn path=/nixpkgs/trunk/; revision=33474
This commit is contained in:
parent
c031fccf5e
commit
742894471d
34
pkgs/tools/misc/refind/default.nix
Normal file
34
pkgs/tools/misc/refind/default.nix
Normal file
|
@ -0,0 +1,34 @@
|
|||
{ stdenv, fetchurl, gnu_efi, unzip }:
|
||||
|
||||
let version = "0.2.3"; in
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "refind-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/refind/refind-src-${version}.zip";
|
||||
sha256 = "0q3p4mczr6wchk4vbgsb0cq7829vk3b3kg9qaizrb02pdak3s2nf";
|
||||
};
|
||||
|
||||
buildInputs = [ unzip ];
|
||||
|
||||
buildFlags = [ "prefix=" "EFIINC=${gnu_efi}/include/efi" "GNUEFILIB=${gnu_efi}/lib" "EFILIB=${gnu_efi}/lib" "EFICRT0=${gnu_efi}/lib" ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -pv $out
|
||||
install -v -m644 refind/refind.efi refind.conf-sample $out
|
||||
mv -v icons $out
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "An EFI boot manager";
|
||||
|
||||
homepage = http://www.rodsbooks.com/refind/;
|
||||
|
||||
license = "GPLv3+";
|
||||
|
||||
maintainers = with stdenv.lib.maintainers; [ shlevy ];
|
||||
|
||||
platforms = [ "i686-linux" "x86_64-linux" ];
|
||||
};
|
||||
}
|
|
@ -1280,6 +1280,8 @@ let
|
|||
|
||||
recutils = callPackage ../tools/misc/recutils { };
|
||||
|
||||
refind = callPackage ../tools/misc/refind { };
|
||||
|
||||
reiser4progs = callPackage ../tools/filesystems/reiser4progs { };
|
||||
|
||||
reiserfsprogs = callPackage ../tools/filesystems/reiserfsprogs { };
|
||||
|
|
Loading…
Reference in a new issue