2018-09-25 22:32:46 +02:00
|
|
|
{ stdenv, fetchFromGitHub }:
|
2015-07-09 11:11:18 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2018-09-25 22:32:46 +02:00
|
|
|
name = "qboot-20170330";
|
2015-07-09 11:11:18 +02:00
|
|
|
|
2018-09-25 22:32:46 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "bonzini";
|
|
|
|
repo = "qboot";
|
|
|
|
rev = "ac9488f26528394856b94bda0797f5bd9c69a26a";
|
|
|
|
sha256 = "0l83nbjndin1cbcimkqkiqr5df8d76cnhyk26rd3aygb2bf7cspy";
|
2015-07-09 11:11:18 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out
|
|
|
|
cp bios.bin* $out/.
|
2016-04-03 13:41:30 +02:00
|
|
|
'';
|
|
|
|
|
|
|
|
hardeningDisable = [ "stackprotector" "pic" ];
|
2015-07-09 11:11:18 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A simple x86 firmware for booting Linux";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/bonzini/qboot";
|
2015-07-09 11:11:18 +02:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ tstrobel ];
|
|
|
|
platforms = ["x86_64-linux" "i686-linux"];
|
|
|
|
};
|
|
|
|
}
|