2024-08-17 22:29:43 +00:00
|
|
|
{ stdenvNoCC, lib, fetchFromGitHub, nixosTests }:
|
2021-07-13 16:21:44 +00:00
|
|
|
|
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
|
|
pname = "icingaweb2-ipl";
|
2024-08-06 06:12:53 +00:00
|
|
|
version = "0.14.1";
|
2021-07-13 16:21:44 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Icinga";
|
|
|
|
repo = "icinga-php-library";
|
|
|
|
rev = "v${version}";
|
2024-08-06 06:12:53 +00:00
|
|
|
hash = "sha256-TR2hd8TdWA2zSyalxBaqqdcK6FO2CovqddF8mvvyb1U=";
|
2021-07-13 16:21:44 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p "$out"
|
|
|
|
cp -r * "$out"
|
|
|
|
'';
|
|
|
|
|
2024-08-17 22:29:43 +00:00
|
|
|
passthru.tests = { inherit (nixosTests) icingaweb2; };
|
|
|
|
|
2021-07-13 16:21:44 +00:00
|
|
|
meta = {
|
|
|
|
description = "PHP library package for Icingaweb 2";
|
|
|
|
homepage = "https://github.com/Icinga/icinga-php-library";
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
platforms = lib.platforms.all;
|
2024-11-04 11:59:26 +00:00
|
|
|
maintainers = lib.teams.helsinki-systems.members;
|
2021-07-13 16:21:44 +00:00
|
|
|
};
|
|
|
|
}
|