8 stdenv.mkDerivation rec {
12 src = fetchFromGitHub {
13 owner = "dj-on-github";
16 hash = "sha256-inMh7l/6LlrVnIin+L+fj+4Lchk0Xvt09ngVrCuvphE=";
19 buildInputs = [ mpfr ];
23 sed -i s/gcc/${stdenv.cc.targetPrefix}gcc/g Makefile
25 + lib.optionalString (!stdenv.hostPlatform.isx86_64) ''
26 sed -i s/-m64//g Makefile
29 makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ];
33 install -D djent $out/bin/djent
37 enableParallelBuilding = true;
40 homepage = "http://www.deadhat.com/";
42 A reimplementation of the Fourmilab/John Walker random number test program
43 ent with several improvements
45 mainProgram = "djent";
46 license = lib.licenses.gpl2Only;
47 platforms = lib.platforms.all;
48 maintainers = with lib.maintainers; [