3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/misc/k4dirstat/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

42 lines
917 B
Nix
Raw Normal View History

2020-06-23 11:33:55 +01:00
{ mkDerivation
, extra-cmake-modules
, fetchFromGitHub
, kdoctools
, kiconthemes
, kio
, kjobwidgets
, kxmlgui
, lib
, testers
2021-09-10 09:21:43 +01:00
, k4dirstat
2020-06-23 11:33:55 +01:00
}:
mkDerivation rec {
pname = "k4dirstat";
2022-07-29 13:02:20 +01:00
version = "3.4.0";
2020-06-23 11:33:55 +01:00
src = fetchFromGitHub {
owner = "jeromerobert";
repo = pname;
rev = version;
2022-07-29 13:02:20 +01:00
hash = "sha256-+JhMSatgCunzxIVSYIzt1L7O36LYbcFw7vmokgNffPY=";
2020-06-23 11:33:55 +01:00
};
nativeBuildInputs = [ extra-cmake-modules ];
buildInputs = [ kiconthemes kio kjobwidgets kxmlgui ];
2021-09-10 09:21:43 +01:00
passthru.tests.version =
testers.testVersion {
2021-09-10 09:21:43 +01:00
package = k4dirstat;
command = "k4dirstat -platform offscreen --version &>/dev/stdout";
};
meta = with lib; {
2020-06-23 11:33:55 +01:00
homepage = "https://github.com/jeromerobert/k4dirstat";
description = "A small utility program that sums up disk usage for directory trees";
license = licenses.gpl2;
maintainers = [ maintainers.raboof ];
platforms = platforms.linux;
};
}