summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/virtualization/qboot
diff options
context:
space:
mode:
authorThomas Strobel <ts468@cam.ac.uk>2015-07-09 11:11:18 +0200
committerThomas Strobel <ts468@cam.ac.uk>2015-07-09 11:11:18 +0200
commit8f2f1dbb7673fcb94ecf86f396ad0467d142e249 (patch)
tree40508036342f9e1cded8a331fd1f5a8686d19be7 /pkgs/applications/virtualization/qboot
parentdf038c93cc823fef9ceb547e3d635317bdd7d39e (diff)
qboot: init at pre-release
Diffstat (limited to 'pkgs/applications/virtualization/qboot')
-rw-r--r--pkgs/applications/virtualization/qboot/default.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/applications/virtualization/qboot/default.nix b/pkgs/applications/virtualization/qboot/default.nix
new file mode 100644
index 000000000000..e4439ec124f4
--- /dev/null
+++ b/pkgs/applications/virtualization/qboot/default.nix
@@ -0,0 +1,24 @@
+{ stdenv, fetchgit }:
+
+stdenv.mkDerivation {
+ name = "qboot-pre-release";
+
+ src = fetchgit {
+ url = "https://github.com/yangchengwork/qboot";
+ rev = "b2bdaf4c878ef34f309c8c79613fabd1b9c4bf75";
+ sha256 = "00f24125733d24713880e430f409d6ded416286d209c9fabb45541311b01cf8d";
+ };
+
+ installPhase = ''
+ mkdir -p $out
+ cp bios.bin* $out/.
+ '';
+
+ meta = {
+ description = "A simple x86 firmware for booting Linux";
+ homepage = https://github.com/bonzini/qboot;
+ license = stdenv.lib.licenses.gpl2;
+ maintainers = with stdenv.lib.maintainers; [ tstrobel ];
+ platforms = ["x86_64-linux" "i686-linux"];
+ };
+}