summary refs log tree commit diff
path: root/pkgs/servers/icingaweb2/ipl.nix
diff options
context:
space:
mode:
authorJanne Heß <janne@hess.ooo>2021-07-13 18:21:44 +0200
committerJanne Heß <janne@hess.ooo>2021-07-13 18:21:44 +0200
commitaae29c6e10d033894bd1568f3e272b73edf75b2e (patch)
treef66656e990a2151a38efb538338c9ed75e52fb31 /pkgs/servers/icingaweb2/ipl.nix
parent2ff6e037a94045f63ebd161236f37740d83e911b (diff)
downloadnixpkgs-aae29c6e10d033894bd1568f3e272b73edf75b2e.tar
nixpkgs-aae29c6e10d033894bd1568f3e272b73edf75b2e.tar.gz
nixpkgs-aae29c6e10d033894bd1568f3e272b73edf75b2e.tar.bz2
nixpkgs-aae29c6e10d033894bd1568f3e272b73edf75b2e.tar.lz
nixpkgs-aae29c6e10d033894bd1568f3e272b73edf75b2e.tar.xz
nixpkgs-aae29c6e10d033894bd1568f3e272b73edf75b2e.tar.zst
nixpkgs-aae29c6e10d033894bd1568f3e272b73edf75b2e.zip
icingaweb2-ipl: Init at 0.6.0
Diffstat (limited to 'pkgs/servers/icingaweb2/ipl.nix')
-rw-r--r--pkgs/servers/icingaweb2/ipl.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/servers/icingaweb2/ipl.nix b/pkgs/servers/icingaweb2/ipl.nix
new file mode 100644
index 00000000000..35b9357009c
--- /dev/null
+++ b/pkgs/servers/icingaweb2/ipl.nix
@@ -0,0 +1,26 @@
+{ stdenvNoCC, lib, fetchFromGitHub }:
+
+stdenvNoCC.mkDerivation rec {
+  pname = "icingaweb2-ipl";
+  version = "0.6.0";
+
+  src = fetchFromGitHub {
+    owner = "Icinga";
+    repo = "icinga-php-library";
+    rev = "v${version}";
+    sha256 = "0nzvd84r9f1mypfhq4p37hsvkrbd5wzgs1m9qhj45ncvf5rq49f1";
+  };
+
+  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 ];
+  };
+}