geekbench: 4.1.1 -> 4.2.3 (#44709)

This commit is contained in:
Vladyslav M 2018-08-08 16:39:33 +03:00 committed by xeji
parent bf341a499d
commit 93b6d5f9e7

View File

@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
name = "geekbench-${version}";
version = "4.1.1";
version = "4.2.3";
src = fetchurl {
url = "https://cdn.primatelabs.com/Geekbench-${version}-Linux.tar.gz";
sha256 = "1n9jyzf0a0w37hb30ip76hz73bvim76jd2fgd6131hh0shp1s4v6";
url = "https://cdn.geekbench.com/Geekbench-${version}-Linux.tar.gz";
sha256 = "1v42hr4p9nj7jvcjkffif6w7icns5iq0mgk9ih2mi5j2h1ngh1f7";
};
dontConfigure = true;
@ -16,8 +16,7 @@ stdenv.mkDerivation rec {
installPhase = ''
mkdir -p $out/bin
cp -r dist/Geekbench-${version}-Linux/. $out/bin
rm $out/bin/geekbench_x86_32
cp -r geekbench.plar geekbench4 geekbench_x86_64 $out/bin
for f in geekbench4 geekbench_x86_64 ; do
patchelf --set-interpreter $(cat ${stdenv.cc}/nix-support/dynamic-linker) $out/bin/$f
@ -27,7 +26,7 @@ stdenv.mkDerivation rec {
meta = with stdenv.lib; {
description = "Cross-platform benchmark";
homepage = http://geekbench.com/;
homepage = https://geekbench.com/;
license = licenses.unfree;
maintainers = [ maintainers.michalrus ];
platforms = [ "x86_64-linux" ];