python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / tools / misc / wimboot / default.nix
blobbc43d77bbfba5f99900de979b37033e78d5d3995
1 { lib, stdenv, fetchFromGitHub, libbfd, zlib, libiberty }:
3 stdenv.mkDerivation rec {
4   pname = "wimboot";
5   version = "2.7.4";
7   src = fetchFromGitHub {
8     owner = "ipxe";
9     repo = "wimboot";
10     rev = "v${version}";
11     sha256 = "sha256-LaPH6nGQanweAG0niS75hr7zbO/9A3iZjS8wHD//oJ4=";
12   };
14   sourceRoot = "source/src";
16   buildInputs = [ libbfd zlib libiberty ];
17   makeFlags = [ "wimboot.x86_64.efi" ];
19   installPhase = ''
20     mkdir -p $out/share/wimboot/
21     cp wimboot.x86_64.efi $out/share/wimboot
22   '';
24   meta = with lib; {
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" ];
30   };