summary refs log tree commit diff
path: root/pkgs/applications/virtualization/qboot/default.nix
blob: e4439ec124f440a34e7a34308f2b73c85a7cb6ad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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"];
  };
}