18 description = "OpenGL and Vulkan Benchmark and Stress Test";
21 "x86_64-linux" = "2.3.0.0";
22 "aarch64-linux" = "2.3.0.0";
23 "i686-linux" = "2.0.16";
28 url = "https://gpumagick.com/downloads/files/2024/furmark2/FurMark_${versions.x86_64-linux}_linux64.zip";
29 hash = "sha256-9xwnOo8gh6XlX2uTwvEorXsx9FafaeCyCPPPJLJGeuE=";
32 url = "https://gpumagick.com/downloads/files/2024/furmark2/FurMark_${versions.x86_64-linux}_rpi64.zip";
33 hash = "sha256-az4prQbg9I+6rt2y1OTy3t21/VHyZS++57r4Ahe3fcQ=";
36 url = "https://gpumagick.com/downloads/files/2024/furmark2/FurMark_${versions.i686-linux}_linux32.zip";
37 hash = "sha256-yXd90FgL3WbTga5x0mXT40BonA2NQtqLzRVzn4s4lLc=";
41 stdenv.mkDerivation (finalAttrs: {
44 versions.${stdenv.hostPlatform.system}
45 or (throw "Furmark is not available on ${stdenv.hostPlatform.system}");
47 src = fetchzip sources.${stdenv.hostPlatform.system};
58 ] ++ lib.optionals stdenv.hostPlatform.isAarch64 [ libxcrypt-legacy ];
63 mkdir -p $out/share/furmark
64 cp -rp * $out/share/furmark
67 for i in $(find $out/share/furmark -maxdepth 1 -type f -executable); do
68 ln -s "$i" "$out/bin/$(basename "$i")"
74 appendRunpaths = [ (lib.makeLibraryPath [ vulkan-loader ]) ];
77 (makeDesktopItem rec {
80 comment = description;
84 url = "https://www.geeks3d.com/furmark/i/20240220-furmark-logo-02.png";
85 hash = "sha256-EqhWQgTEmF/2AcqDxgGtr2m5SMYup28hPEhI6ssFw7g=";
95 tests.version = testers.testVersion {
96 package = finalAttrs.finalPackage;
97 command = "furmark --version";
102 homepage = "https://www.geeks3d.com/furmark/v2/";
103 license = lib.licenses.unfree;
104 mainProgram = "FurMark_GUI";
105 maintainers = with lib.maintainers; [ surfaceflinger ];
111 sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];