2021-07-13 16:21:44 +00:00
|
|
|
{ stdenvNoCC, lib, fetchFromGitHub }:
|
|
|
|
|
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
|
|
pname = "icingaweb2-ipl";
|
2022-03-23 12:40:11 +00:00
|
|
|
version = "0.8.0";
|
2021-07-13 16:21:44 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Icinga";
|
|
|
|
repo = "icinga-php-library";
|
|
|
|
rev = "v${version}";
|
2022-03-23 12:40:11 +00:00
|
|
|
sha256 = "sha256:05k0qcd5c5xb124dpp6lvfdh4dzf6bkd34v4sy7aj776p4hrlqx2";
|
2021-07-13 16:21:44 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p "$out"
|
|
|
|
cp -r * "$out"
|
|
|
|
'';
|
|
|
|
|
|
|
|
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; [ das_j ];
|
|
|
|
};
|
|
|
|
}
|