1 {lib, stdenv, fetchurl, unzip}:
8 url = "https://www.fourmilab.ch/random/random.zip";
9 sha256 = "1v39jlj3lzr5f99avzs2j2z6anqqd64bzm1pdf6q84a5n8nxckn1";
12 # Work around the "unpacker appears to have produced no directories"
13 # case that happens when the archive doesn't have a subdirectory.
14 setSourceRoot = "sourceRoot=`pwd`";
16 nativeBuildInputs = [ unzip ];
18 buildFlags = lib.optional stdenv.cc.isClang "CC=clang";
26 description = "Pseudorandom Number Sequence Test Program";
27 homepage = "https://www.fourmilab.ch/random/";
28 platforms = platforms.all;
29 license = licenses.publicDomain;