mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-26 18:24:53 +00:00
34 lines
705 B
Nix
34 lines
705 B
Nix
{
|
|
stdenvNoCC,
|
|
lib,
|
|
fetchFromGitHub,
|
|
nixosTests,
|
|
}:
|
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
pname = "icingaweb2-ipl";
|
|
version = "0.17.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Icinga";
|
|
repo = "icinga-php-library";
|
|
rev = "v${version}";
|
|
hash = "sha256-rtaXcJGguVZrdH7y3Ex/hgb+5oC+rrkrhllYHMQr9ns=";
|
|
};
|
|
|
|
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;
|
|
maintainers = with lib.maintainers; [ helsinki-Jo ];
|
|
};
|
|
}
|