nixpkgs/pkgs/tools/system/memtester/default.nix

27 lines
679 B
Nix
Raw Normal View History

2015-07-21 18:59:41 +02:00
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "memtester";
2020-11-03 08:46:35 +01:00
version = "4.5.0";
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";
2020-11-03 08:46:35 +01:00
sha256 = "0dxfwayns3hjjplkxkpkm1409lmjlpi4chcrahcvdbnl0q6jpmcf";
2015-07-21 18:59:41 +02:00
};
installFlags = [ "INSTALLPATH=$(out)" ];
meta = with stdenv.lib; {
description = "A userspace utility for testing the memory subsystem for faults";
homepage = "http://pyropus.ca/software/memtester/";
2015-07-21 18:59:41 +02:00
license = licenses.gpl2;
maintainers = [ maintainers.dezgeg ];
platforms = platforms.unix;
};
}