11 stdenv.mkDerivation rec {
16 url = "https://cdn.geekbench.com/Geekbench-${version}-Linux.tar.gz";
17 sha256 = "sha256-KVsBE0ueWewmoVY/vzxX2sKhRTzityPNR+wmTwZBWiI=";
23 nativeBuildInputs = [ autoPatchelfHook makeWrapper ];
24 buildInputs = [ stdenv.cc.cc ];
30 cp -r geekbench.plar geekbench4 geekbench_x86_64 $out/bin
32 for f in geekbench4 geekbench_x86_64 ; do
33 wrapProgram $out/bin/$f \
34 --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [
35 addDriverRunpath.driverLink
45 description = "Cross-platform benchmark";
46 homepage = "https://geekbench.com/";
47 sourceProvenance = with sourceTypes; [ binaryNativeCode ];
48 license = licenses.unfree;
49 maintainers = [ maintainers.michalrus ];
50 platforms = [ "x86_64-linux" ];
51 mainProgram = "geekbench4";