nixpkgs/pkgs/servers/icingaweb2/ipl.nix

27 lines
629 B
Nix
Raw Normal View History

2021-07-13 17:21:44 +01:00
{ stdenvNoCC, lib, fetchFromGitHub }:
stdenvNoCC.mkDerivation rec {
pname = "icingaweb2-ipl";
2021-11-21 14:42:35 +00:00
version = "0.7.0";
2021-07-13 17:21:44 +01:00
src = fetchFromGitHub {
owner = "Icinga";
repo = "icinga-php-library";
rev = "v${version}";
2021-11-21 14:42:35 +00:00
sha256 = "sha256:118bg9mxjxajm2ydbycgqdmdx8przwxblsaxc373r0g1dp1lv0fz";
2021-07-13 17:21:44 +01: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 ];
};
}