nixpkgs/pkgs/tools/misc/kcollectd/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

58 lines
999 B
Nix

{ lib
, fetchFromGitLab
, mkDerivation
, qtbase
, cmake
, kconfig
, kio
, kiconthemes
, kxmlgui
, ki18n
, kguiaddons
, extra-cmake-modules
, boost
, shared-mime-info
, rrdtool
, breeze-icons
}:
mkDerivation rec {
pname = "kcollectd";
version = "0.12.1";
src = fetchFromGitLab {
owner = "aerusso";
repo = pname;
rev = "v${version}";
sha256 = "sha256-bUVL5eRQ5UkSZo562pnyEcj0fVoSC5WHRq4BfN67jEM=";
};
nativeBuildInputs = [
cmake
extra-cmake-modules
shared-mime-info
];
buildInputs = [
qtbase
kconfig
kio
kxmlgui
kiconthemes
ki18n
kguiaddons
boost
rrdtool
# otherwise some buttons are blank
breeze-icons
];
meta = with lib; {
description = "Graphical frontend to collectd";
homepage = "https://www.antonioerusso.com/projects/kcollectd/";
maintainers = [ maintainers.symphorien ];
license = [ lib.licenses.gpl3Plus ];
platforms = lib.platforms.linux;
mainProgram = "kcollectd";
};
}