1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-05 12:02:47 +00:00
nixpkgs/pkgs/misc/scimark/default.nix

36 lines
745 B
Nix
Raw Normal View History

2021-03-19 15:21:25 +00:00
{ 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