7 stdenv.mkDerivation (finalAttrs: {
11 src = fetchFromGitHub {
12 owner = "memtest86plus";
13 repo = "memtest86plus";
14 rev = "v${finalAttrs.version}";
15 hash = "sha256-JZ6feyk66DLKEnugc+yXN4KckQrCTMNqQL4TvCTw1EU=";
18 # Binaries are booted directly by BIOS/UEFI or bootloader
19 # and should not be patched/stripped
23 passthru.efi = "${finalAttrs.finalPackage}/memtest.efi";
26 cd ${if stdenv.hostPlatform.isi686 then "build32" else "build64"}
30 install -Dm0444 -t $out/ memtest.bin memtest.efi
34 homepage = "https://www.memtest.org/";
35 description = "Tool to detect memory errors";
36 license = lib.licenses.gpl2Only;
41 maintainers = [ lib.maintainers.LunNova ];