8 stdenv.mkDerivation (finalAttrs: {
13 url = "https://www.ordinal.com/try.cgi/gensort-${finalAttrs.version}.tar.gz";
14 hash = "sha256-f3VzeD2CmM7z3Uqh24IlyRTeGgz+0oOWXqILaYOKZ60=";
21 env.NIX_CFLAGS_COMPILE = "-Wno-error=format-security";
25 install -Dm755 gensort $out/bin/gensort
26 install -Dm755 valsort $out/bin/valsort
31 description = "Generate and validate records for the sorting benchmark";
33 The gensort program can be used to generate input records for the sort
34 benchmarks presented on www.sortbenchmark.org.
36 The valsort program can be used to validate the sort output file is
39 homepage = "https://www.ordinal.com/gensort.html";
40 license = lib.licenses.gpl2Only;
41 maintainers = with lib.maintainers; [ zimeg ];
42 mainProgram = "gensort";
43 platforms = lib.platforms.linux;