nixpkgs/pkgs/tools/system/memtester/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

27 lines
677 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
pname = "memtester";
version = "4.3.0";
preConfigure = ''
echo "$CC" > conf-cc
echo "$CC" > conf-ld
'';
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;
};
}