summary refs log tree commit diff
path: root/pkgs/tools
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2012-03-16 02:05:38 +0000
committerShea Levy <shea@shealevy.com>2012-03-16 02:05:38 +0000
commitd7533209a109126073af99444b4c600ed31d9fa9 (patch)
treee61667c8bfdfdb88c7d13a13ad6ea2c4097ef732 /pkgs/tools
parent8a5e005bee4cc5934a98c88095db8561574df0ef (diff)
Add NixosBootPkg
You almost certainly don't want to use this. It's a very stupid,
overspecialized application that's only needed by the efiBootStub NixOS
module in corner cases.

svn path=/nixpkgs/trunk/; revision=33134
Diffstat (limited to 'pkgs/tools')
-rw-r--r--pkgs/tools/misc/NixosBootPkg/default.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/tools/misc/NixosBootPkg/default.nix b/pkgs/tools/misc/NixosBootPkg/default.nix
new file mode 100644
index 0000000000000..88192465aba3a
--- /dev/null
+++ b/pkgs/tools/misc/NixosBootPkg/default.nix
@@ -0,0 +1,28 @@
+{ stdenv, edk2, fetchhg }:
+
+let
+
+  src = fetchhg {
+    url = https://bitbucket.org/shlevy/nixosbootpkg;
+    tag = "1ff4c2891c8c1eb03677a6f8b04b8d05807ec198";
+    sha256 = "06zwy0g9a7g2sny7phvn2z76pb3wnw4vm9vsrjjaj7f7nzcsn13k";
+  };
+
+in
+
+stdenv.mkDerivation (edk2.setup "NixosBootPkg/NixosBootPkg.dsc" {
+  name = "NixosBootPkg-2012-03-15";
+
+  unpackPhase = ''
+    ln -sv ${src} NixosBootPkg
+    ln -sv ${edk2.src}/MdePkg .
+  '';
+
+  meta = {
+    description = "Sample UEFI firmware for QEMU and KVM";
+    homepage = http://www.shealevy.com;
+    license = "MIT";
+    maintainers = [ stdenv.lib.maintainers.shlevy ];
+    platforms = ["x86_64-linux" "i686-linux"];
+  };
+})