3
0
Fork 0
forked from mirrors/nixpkgs

Adding rowhammer test.

This commit is contained in:
Lluís Batlle i Rossell 2016-03-11 14:29:56 +01:00
parent 2afa81a402
commit e026b5c243
2 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,27 @@
{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation {
name = "rowhammer-test-20150811";
src = fetchFromGitHub {
owner = "google";
repo = "rowhammer-test";
rev = "c1d2bd9f629281402c10bb10e52bc1f1faf59cc4"; # 2015-08-11
sha256 = "1fbfcnm5gjish47wdvikcsgzlb5vnlfqlzzm6mwiw2j5qkq0914i";
};
buildPhase = "sh -e make.sh";
installPhase = ''
mkdir -p $out/bin
cp rowhammer_test double_sided_rowhammer $out/bin
'';
meta = with stdenv.lib; {
description = "Test DRAM for bit flips caused by the rowhammer problem";
homepage = https://github.com/google/rowhammer-test;
license = licenses.asl20;
maintainers = [ maintainers.viric ];
platforms = platforms.unix;
};
}

View file

@ -3150,6 +3150,8 @@ let
rosegarden = callPackage ../applications/audio/rosegarden { };
rowhammer-test = callPackage ../tools/system/rowhammer-test { };
rpPPPoE = callPackage ../tools/networking/rp-pppoe { };
rpm = callPackage ../tools/package-management/rpm { };