diff --git a/pkgs/tools/misc/geekbench/default.nix b/pkgs/tools/misc/geekbench/default.nix index d70af6b311ff..bc6f1a1ff0d4 100644 --- a/pkgs/tools/misc/geekbench/default.nix +++ b/pkgs/tools/misc/geekbench/default.nix @@ -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" ];