2015-07-21 18:59:41 +02:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "memtester";
|
2015-07-21 18:59:41 +02:00
|
|
|
version = "4.3.0";
|
|
|
|
|
2018-02-28 21:14:36 +01:00
|
|
|
preConfigure = ''
|
|
|
|
echo "$CC" > conf-cc
|
|
|
|
echo "$CC" > conf-ld
|
|
|
|
'';
|
|
|
|
|
2015-07-21 18:59:41 +02:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pyropus.ca/software/memtester/old-versions/memtester-${version}.tar.gz";
|
|
|
|
sha256 = "127xymmyzb9r6dxqrwd69v7gf8csv8kv7fjvagbglf3wfgyy5pzr";
|
|
|
|
};
|
|
|
|
|
|
|
|
installFlags = [ "INSTALLPATH=$(out)" ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A userspace utility for testing the memory subsystem for faults";
|
|
|
|
homepage = http://pyropus.ca/software/memtester/;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.dezgeg ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|