Files
nixpkgs/pkgs/servers/icingaweb2/ipl.nix
2025-04-25 22:20:17 -03:00

34 lines
692 B
Nix

{
stdenvNoCC,
lib,
fetchFromGitHub,
nixosTests,
}:
stdenvNoCC.mkDerivation rec {
pname = "icingaweb2-ipl";
version = "0.14.2";
src = fetchFromGitHub {
owner = "Icinga";
repo = "icinga-php-library";
rev = "v${version}";
hash = "sha256-dzrYiZJx7h0gQzXbmp1X3NKlWZAl7hKCEd05+lSRomg=";
};
installPhase = ''
mkdir -p "$out"
cp -r * "$out"
'';
passthru.tests = { inherit (nixosTests) icingaweb2; };
meta = {
description = "PHP library package for Icingaweb 2";
homepage = "https://github.com/Icinga/icinga-php-library";
license = lib.licenses.mit;
platforms = lib.platforms.all;
teams = [ lib.teams.helsinki-systems ];
};
}