about summary refs log tree commit diff
path: root/pkgs/applications/networking/icemon/default.nix
blob: 7fa4c37b557a25a3e6af3264c276f068506f3565 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ lib, fetchFromGitHub, mkDerivation, qtbase, cmake, extra-cmake-modules, icecream, libcap_ng, lzo, zstd, libarchive, wrapQtAppsHook }:

mkDerivation rec {
  pname = "icemon";
  version = "3.3";

  src = fetchFromGitHub {
    owner = "icecc";
    repo = pname;
    rev = "v${version}";
    sha256 = "09jnipr67dhawbxfn69yh7mmjrkylgiqmd0gmc2limd3z15d7pgc";
  };

  nativeBuildInputs = [ cmake extra-cmake-modules wrapQtAppsHook ];
  buildInputs = [ icecream qtbase libcap_ng lzo zstd libarchive ];

  meta = with lib; {
    description = "Icecream GUI Monitor";
    inherit (src.meta) homepage;
    license = licenses.gpl2;
    maintainers = with maintainers; [ emantor ];
    platforms = with platforms; linux ++ darwin;
    mainProgram = "icemon";
  };
}