1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00
nixpkgs/pkgs/tools/misc/memtest86+/default.nix

32 lines
677 B
Nix
Raw Normal View History

{ stdenv, fetchgit }:
2019-08-13 22:52:01 +01:00
stdenv.mkDerivation {
pname = "memtest86+";
version = "5.01-coreboot-002";
2013-10-02 10:37:43 +01:00
src = fetchgit {
url = "https://review.coreboot.org/memtest86plus.git";
rev = "v002";
sha256 = "0cwx20yja24bfknqh1rjb5rl2c0kwnppzsisg1dibbak0l8mxchk";
};
2015-06-27 23:49:30 +01:00
NIX_CFLAGS_COMPILE = "-I. -std=gnu90";
2013-10-02 10:37:43 +01:00
hardeningDisable = [ "all" ];
2013-10-02 10:37:43 +01:00
buildFlags = "memtest.bin";
2018-08-08 22:35:07 +01:00
doCheck = false; # fails
installPhase = ''
install -Dm0444 -t $out/ memtest.bin
'';
meta = {
homepage = "http://www.memtest.org/";
2013-10-02 10:37:43 +01:00
description = "A tool to detect memory errors";
license = stdenv.lib.licenses.gpl2;
platforms = [ "x86_64-linux" "i686-linux" ];
};
}