1 { stdenvNoCC, lib, fetchFromGitHub, makeWrapper, php, nixosTests }:
3 stdenvNoCC.mkDerivation rec {
7 src = fetchFromGitHub {
11 hash = "sha256-RwKVANFlFWKgMBwlLmX0P4PR+eTN3uz//kMdJ8dLZuU=";
14 nativeBuildInputs = [ makeWrapper ];
18 cp -ra application bin etc library modules public $out
21 wrapProgram $out/bin/icingacli --prefix PATH : "${lib.makeBinPath [ php ]}"
24 passthru.tests = { inherit (nixosTests) icingaweb2; };
27 description = "Webinterface for Icinga 2";
29 A lightweight and extensible web interface to keep an eye on your environment.
30 Analyse problems and act on them.
32 homepage = "https://www.icinga.com/products/icinga-web-2/";
33 license = licenses.gpl2Only;
34 maintainers = teams.helsinki-systems.members;
35 mainProgram = "icingacli";
36 platforms = platforms.all;