nixpkgs/pkgs/applications/misc/k4dirstat/default.nix

34 lines
736 B
Nix
Raw Normal View History

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