@@ -0,0 +1,35 @@
1+{ lib
2+, stdenv
3+, fetchurl
4+, unzip
5+}:
6+
7+stdenv.mkDerivation rec {
8+ pname = "scimark";
9+ version = "4c";
10+
11+ src = fetchurl {
12+ url = "https://math.nist.gov/scimark2/${pname}${version}.zip";
13+ hash = "sha256-kcg5vKYp0B7+bC/CmFMO/tMwxf9q6nvuFv0vRSy3MbE=";
14+ };
15+
16+ nativeBuildInputs = [
17+ unzip
18+ ];
19+
20+ dontConfigure = true;
21+
22+ installPhase = ''
23+ install -d $out/bin/
24+ install scimark4 $out/bin/
25+ '';
26+
27+ meta = with lib; {
28+ homepage = "https://math.nist.gov/scimark2/index.html";
29+ description = "Scientific and numerical computing benchmark (ANSI C version)";
30+ license = licenses.publicDomain;
31+ maintainers = with maintainers; [ AndersonTorres ];
32+ platforms = platforms.all;
33+ };
34+}
35+# TODO [ AndersonTorres ]: Java version