Merge pull request #116932 from AndersonTorres/new-scimark

scimark: init at 4c

authored by

Anderson Torres and committed by
GitHub
9007023a 04a37553

+37
+35
pkgs/misc/scimark/default.nix
··· 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
+2
pkgs/top-level/all-packages.nix
··· 7921 7921 pulseSupport = config.pulseaudio or false; 7922 7922 }; 7923 7923 7924 + scimark = callPackage ../misc/scimark { }; 7925 + 7924 7926 screen = callPackage ../tools/misc/screen { 7925 7927 inherit (darwin.apple_sdk.libs) utmp; 7926 7928 };