2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2015-07-21 18:59:41 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "memtester";
|
2022-04-08 13:26:11 +02:00
|
|
|
version = "4.5.1";
|
2015-07-21 18:59:41 +02:00
|
|
|
|
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";
|
2022-04-08 13:26:11 +02:00
|
|
|
sha256 = "sha256-HF/COCV2wISzFM/TNNEnpmwgvWOJLKyfRFvB2LTKWkc=";
|
2015-07-21 18:59:41 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
installFlags = [ "INSTALLPATH=$(out)" ];
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2015-07-21 18:59:41 +02:00
|
|
|
description = "A userspace utility for testing the memory subsystem for faults";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://pyropus.ca/software/memtester/";
|
2015-07-21 18:59:41 +02:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.dezgeg ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|