1 { lib, stdenv, fetchFromGitHub, libbfd, zlib, libiberty }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-LaPH6nGQanweAG0niS75hr7zbO/9A3iZjS8wHD//oJ4=";
14 sourceRoot = "source/src";
16 buildInputs = [ libbfd zlib libiberty ];
17 makeFlags = [ "wimboot.x86_64.efi" ];
20 mkdir -p $out/share/wimboot/
21 cp wimboot.x86_64.efi $out/share/wimboot
25 homepage = "https://ipxe.org/wimboot";
26 description = "Windows Imaging Format bootloader";
27 license = licenses.gpl2Plus;
28 maintainers = with maintainers; [ das_j ajs124 ];
29 platforms = [ "x86_64-linux" ];