13 stdenv.mkDerivation rec {
17 src = fetchFromGitHub {
21 hash = "sha256-JueY7zw9PIo9ETi7pQLpw8FGRhNXYXeXEvTzZGz9lbw=";
22 fetchSubmodules = true;
38 substituteInPlace CMakeLists.txt \
39 --replace \$\{POLKITQT-1_POLICY_FILES_INSTALL_DIR\} $out/share/polkit-1/actions
46 (lib.makeBinPath [ fio ])
50 description = "HDD and SSD benchmark tool with a friendly graphical user interface";
52 If kdiskmark is not run as root it can rely on polkit to get the necessary
53 privileges. In this case you must install it with `environment.systemPackages`
54 on NixOS, nix-env will not work.
56 homepage = "https://github.com/JonMagon/KDiskMark";
57 maintainers = [ maintainers.symphorien ];
58 license = licenses.gpl3Only;
59 platforms = platforms.linux;
60 mainProgram = "kdiskmark";