1{ stdenv, fetchgit }:
2
3stdenv.mkDerivation {
4 name = "qboot-pre-release";
5
6 src = fetchgit {
7 url = "https://github.com/yangchengwork/qboot";
8 rev = "b2bdaf4c878ef34f309c8c79613fabd1b9c4bf75";
9 sha256 = "00f24125733d24713880e430f409d6ded416286d209c9fabb45541311b01cf8d";
10 };
11
12 installPhase = ''
13 mkdir -p $out
14 cp bios.bin* $out/.
15 '';
16
17 meta = {
18 description = "A simple x86 firmware for booting Linux";
19 homepage = https://github.com/bonzini/qboot;
20 license = stdenv.lib.licenses.gpl2;
21 maintainers = with stdenv.lib.maintainers; [ tstrobel ];
22 platforms = ["x86_64-linux" "i686-linux"];
23 };
24}