12 stdenv.mkDerivation rec {
16 src = fetchFromGitHub {
20 sha256 = "sha256-fDimH0BX0zxGuOMNLhNbMGMr2pS+qbZhflSpoLFK+Ng=";
23 nativeBuildInputs = [ cmake wrapQtAppsHook ];
33 # so that kdiskmark can be used as unpriviledged user even on non-kde
34 # (where kauth is not in environment.systemPackages)
35 ln -s ${kauth}/share/dbus-1/system.d/org.kde.kf5auth.conf $out/share/dbus-1/system.d/00-kdiskmark-needs-org.kde.kf5auth.conf
39 [ "--prefix" "PATH" ":" (lib.makeBinPath [ fio ]) ];
42 description = "HDD and SSD benchmark tool with a friendly graphical user interface";
44 If kdiskmark is not run as root it can rely on polkit to get the necessary
45 privileges. In this case you must install it with `environment.systemPackages`
46 on NixOS, nix-env will not work.
48 homepage = "https://github.com/JonMagon/KDiskMark";
49 maintainers = [ maintainers.symphorien ];
50 license = licenses.gpl3Only;
51 platforms = platforms.linux;