1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-13 16:15:30 +00:00
nixpkgs/pkgs/tools/system/rowhammer-test/default.nix
Lluís Batlle i Rossell e026b5c243 Adding rowhammer test.
2016-03-11 14:29:56 +01:00

28 lines
716 B
Nix

{ 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;
};
}