mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
28 lines
709 B
Nix
28 lines
709 B
Nix
{ lib, stdenv, fetchurl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "memtester";
|
|
version = "4.6.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 = "sha256-yf5Ot+gMjO9SAvkGXEwGgvVhZkfARV6RalcA+Y49uy4=";
|
|
};
|
|
|
|
installFlags = [ "INSTALLPATH=$(out)" ];
|
|
|
|
meta = with lib; {
|
|
description = "Userspace utility for testing the memory subsystem for faults";
|
|
homepage = "http://pyropus.ca/software/memtester/";
|
|
license = licenses.gpl2Only;
|
|
maintainers = [ maintainers.dezgeg ];
|
|
platforms = platforms.unix;
|
|
mainProgram = "memtester";
|
|
};
|
|
}
|