2020-06-23 11:33:55 +01:00
|
|
|
{ mkDerivation
|
|
|
|
, extra-cmake-modules
|
|
|
|
, fetchFromGitHub
|
|
|
|
, kdoctools
|
|
|
|
, kiconthemes
|
|
|
|
, kio
|
|
|
|
, kjobwidgets
|
|
|
|
, kxmlgui
|
2021-01-11 07:54:33 +00:00
|
|
|
, lib, stdenv
|
2020-06-23 11:33:55 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "k4dirstat";
|
2021-01-19 01:48:14 +00:00
|
|
|
version = "3.2.2";
|
2020-06-23 11:33:55 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jeromerobert";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2021-01-19 01:48:14 +00:00
|
|
|
sha256 = "sha256-U5p/gW5GPxRoM9XknP8G7iVhLDoqmvgspeRsmCRdxDg=";
|
2020-06-23 11:33:55 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ extra-cmake-modules ];
|
|
|
|
buildInputs = [ kiconthemes kio kjobwidgets kxmlgui ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|