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
934 B
Nix
Raw Normal View History

2020-06-23 10:33:55 +00:00
{ mkDerivation
, extra-cmake-modules
, fetchFromGitHub
, kiconthemes
, kio
, kjobwidgets
, kxmlgui
, lib
, testers
2021-09-10 08:21:43 +00:00
, k4dirstat
2020-06-23 10:33:55 +00:00
}:
mkDerivation rec {
pname = "k4dirstat";
2023-06-25 14:17:03 +00:00
version = "3.4.3";
2020-06-23 10:33:55 +00:00
src = fetchFromGitHub {
owner = "jeromerobert";
repo = pname;
rev = version;
2023-06-25 14:17:03 +00:00
hash = "sha256-TXMUtiPS7qRLm6cCy2ZntYrcNJ0fn6X+3o3P5u7oo08=";
2020-06-23 10:33:55 +00:00
};
nativeBuildInputs = [ extra-cmake-modules ];
buildInputs = [ kiconthemes kio kjobwidgets kxmlgui ];
2021-09-10 08:21:43 +00:00
passthru.tests.version =
testers.testVersion {
2021-09-10 08:21:43 +00:00
package = k4dirstat;
command = "k4dirstat -platform offscreen --version &>/dev/stdout";
};
meta = with lib; {
2020-06-23 10:33:55 +00:00
homepage = "https://github.com/jeromerobert/k4dirstat";
description = "Small utility program that sums up disk usage for directory trees";
mainProgram = "k4dirstat";
2020-06-23 10:33:55 +00:00
license = licenses.gpl2;
maintainers = [ maintainers.raboof ];
platforms = platforms.linux;
};
}