diff options
author | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2011-03-22 13:21:24 +0000 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2011-03-22 13:21:24 +0000 |
commit | 34deb53fd76ab43e5bfae0ace581109944aa3c2f (patch) | |
tree | 7c83986b947b067b316d59485566b72d41b9879a /pkgs/tools/system/efibootmgr | |
parent | 7cbb426eae1d804963744177f9d2e95221329e2e (diff) | |
download | nixpkgs-34deb53fd76ab43e5bfae0ace581109944aa3c2f.tar nixpkgs-34deb53fd76ab43e5bfae0ace581109944aa3c2f.tar.gz nixpkgs-34deb53fd76ab43e5bfae0ace581109944aa3c2f.tar.bz2 nixpkgs-34deb53fd76ab43e5bfae0ace581109944aa3c2f.tar.lz nixpkgs-34deb53fd76ab43e5bfae0ace581109944aa3c2f.tar.xz nixpkgs-34deb53fd76ab43e5bfae0ace581109944aa3c2f.tar.zst nixpkgs-34deb53fd76ab43e5bfae0ace581109944aa3c2f.zip |
Adding the efibootmgr, patch sent by Shea Levy.
svn path=/nixpkgs/trunk/; revision=26456
Diffstat (limited to 'pkgs/tools/system/efibootmgr')
-rw-r--r-- | pkgs/tools/system/efibootmgr/default.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/tools/system/efibootmgr/default.nix b/pkgs/tools/system/efibootmgr/default.nix new file mode 100644 index 00000000000..bf4c429808b --- /dev/null +++ b/pkgs/tools/system/efibootmgr/default.nix @@ -0,0 +1,33 @@ +{stdenv, fetchurl, pciutils, perl, zlib}: + +let version = "0.5.4"; in + +stdenv.mkDerivation { + name = "efibootmgr-${version}"; + + buildInputs = [ pciutils zlib perl ]; + + + src = fetchurl { + url = "http://linux.dell.com/efibootmgr/permalink/efibootmgr-${version}.tar.gz"; + sha256 = "0wcfgf8x4p4xfh38m9x3njwsxibm9bhnmvpjj94lj9sk9xxa8qmm"; + }; + + patchPhase = '' + substituteInPlace "./tools/install.pl" \ + --replace "/usr/bin/perl" "${perl}/bin/perl" + ''; + + preBuild = '' + export makeFlags="BINDIR=$out/sbin" + ''; + + meta = { + description = "A Linux user-space application to modify the Intel Extensible Firmware Interface (EFI) Boot Manager"; + homepage = http://linux.dell.com/efibootmgr/; + license = "GPLv2"; + maintainers = [ stdenv.lib.maintainers.shlevy ]; + platforms = stdenv.lib.platforms.linux; + }; +} + |