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