2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2015-07-21 16:59:41 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "memtester";
|
2022-12-25 02:03:47 +00:00
|
|
|
version = "4.6.0";
|
2015-07-21 16:59:41 +00:00
|
|
|
|
2018-02-28 20:14:36 +00:00
|
|
|
preConfigure = ''
|
|
|
|
echo "$CC" > conf-cc
|
|
|
|
echo "$CC" > conf-ld
|
|
|
|
'';
|
|
|
|
|
2015-07-21 16:59:41 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://pyropus.ca/software/memtester/old-versions/memtester-${version}.tar.gz";
|
2022-12-25 02:03:47 +00:00
|
|
|
sha256 = "sha256-yf5Ot+gMjO9SAvkGXEwGgvVhZkfARV6RalcA+Y49uy4=";
|
2015-07-21 16:59:41 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
installFlags = [ "INSTALLPATH=$(out)" ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2015-07-21 16:59:41 +00:00
|
|
|
description = "Userspace utility for testing the memory subsystem for faults";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://pyropus.ca/software/memtester/";
|
2024-04-26 11:35:31 +00:00
|
|
|
license = licenses.gpl2Only;
|
2015-07-21 16:59:41 +00:00
|
|
|
maintainers = [ maintainers.dezgeg ];
|
|
|
|
platforms = platforms.unix;
|
2023-11-27 01:17:53 +00:00
|
|
|
mainProgram = "memtester";
|
2015-07-21 16:59:41 +00:00
|
|
|
};
|
|
|
|
}
|