scimark: init at 4c

This commit is contained in:
AndersonTorres 2021-03-19 12:21:25 -03:00
parent d00e4cd1fe
commit 6e82e07df3
2 changed files with 37 additions and 0 deletions

View file

@ -0,0 +1,35 @@
{ lib
, stdenv
, fetchurl
, unzip
}:
stdenv.mkDerivation rec {
pname = "scimark";
version = "4c";
src = fetchurl {
url = "https://math.nist.gov/scimark2/${pname}${version}.zip";
hash = "sha256-kcg5vKYp0B7+bC/CmFMO/tMwxf9q6nvuFv0vRSy3MbE=";
};
nativeBuildInputs = [
unzip
];
dontConfigure = true;
installPhase = ''
install -d $out/bin/
install scimark4 $out/bin/
'';
meta = with lib; {
homepage = "https://math.nist.gov/scimark2/index.html";
description = "Scientific and numerical computing benchmark (ANSI C version)";
license = licenses.publicDomain;
maintainers = with maintainers; [ AndersonTorres ];
platforms = platforms.all;
};
}
# TODO [ AndersonTorres ]: Java version

View file

@ -7877,6 +7877,8 @@ in
pulseSupport = config.pulseaudio or false;
};
scimark = callPackage ../misc/scimark { };
screen = callPackage ../tools/misc/screen {
inherit (darwin.apple_sdk.libs) utmp;
};