7 stdenv.mkDerivation rec {
11 src = fetchFromGitHub {
12 owner = "dj-on-github";
15 hash = "sha256-inMh7l/6LlrVnIin+L+fj+4Lchk0Xvt09ngVrCuvphE=";
18 buildInputs = [ mpfr ];
21 sed -i s/gcc/${stdenv.cc.targetPrefix}gcc/g Makefile
23 + lib.optionalString (!stdenv.hostPlatform.isx86_64) ''
24 sed -i s/-m64//g Makefile
27 makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ];
31 install -D djent $out/bin/djent
35 enableParallelBuilding = true;
38 homepage = "http://www.deadhat.com/";
40 A reimplementation of the Fourmilab/John Walker random number test program
41 ent with several improvements
43 mainProgram = "djent";
44 license = lib.licenses.gpl2Only;
45 platforms = lib.platforms.all;
46 maintainers = with lib.maintainers; [ orichter thillux ];