159e378cbb
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
28 lines
690 B
Nix
28 lines
690 B
Nix
{ stdenvNoCC, lib, fetchFromGitHub, nixosTests }:
|
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
pname = "icingaweb2-ipl";
|
|
version = "0.14.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "Icinga";
|
|
repo = "icinga-php-library";
|
|
rev = "v${version}";
|
|
hash = "sha256-TR2hd8TdWA2zSyalxBaqqdcK6FO2CovqddF8mvvyb1U=";
|
|
};
|
|
|
|
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; [ das_j ];
|
|
};
|
|
}
|