Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 49 lines 820 B view raw
1{ 2 lib, 3 fetchFromGitHub, 4 mkDerivation, 5 qtbase, 6 cmake, 7 extra-cmake-modules, 8 icecream, 9 libcap_ng, 10 lzo, 11 zstd, 12 libarchive, 13 wrapQtAppsHook, 14}: 15 16mkDerivation rec { 17 pname = "icemon"; 18 version = "3.3"; 19 20 src = fetchFromGitHub { 21 owner = "icecc"; 22 repo = pname; 23 rev = "v${version}"; 24 sha256 = "09jnipr67dhawbxfn69yh7mmjrkylgiqmd0gmc2limd3z15d7pgc"; 25 }; 26 27 nativeBuildInputs = [ 28 cmake 29 extra-cmake-modules 30 wrapQtAppsHook 31 ]; 32 buildInputs = [ 33 icecream 34 qtbase 35 libcap_ng 36 lzo 37 zstd 38 libarchive 39 ]; 40 41 meta = with lib; { 42 description = "Icecream GUI Monitor"; 43 inherit (src.meta) homepage; 44 license = licenses.gpl2; 45 maintainers = with maintainers; [ emantor ]; 46 platforms = with platforms; linux ++ darwin; 47 mainProgram = "icemon"; 48 }; 49}