From 8b0968b2054d3bb8d90b5ac056727f7c2ebeaed3 Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Tue, 11 Dec 2018 18:10:48 +0300 Subject: (* HUGE *) Use nixpkgs overlays --- pkgs/icingaweb2/default.nix | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 pkgs/icingaweb2/default.nix (limited to 'pkgs/icingaweb2/default.nix') diff --git a/pkgs/icingaweb2/default.nix b/pkgs/icingaweb2/default.nix new file mode 100644 index 0000000..40aebb0 --- /dev/null +++ b/pkgs/icingaweb2/default.nix @@ -0,0 +1,36 @@ +{ stdenv, fetchurl +, php +}: + +stdenv.mkDerivation rec { + version = "2.6.0"; + name = "icingaweb2-${version}"; + + src = fetchurl { + url = "https://github.com/Icinga/icingaweb2/archive/v${version}.tar.gz"; + sha256 = "1m0gi8zbrag4jwdcqicq5bb3s07z7kz0fg41a22cbqlgx6adivaa"; + }; + + patches = [ + ./sproxy.patch + ]; + + buildPhase = "true"; + + installPhase = '' + mkdir -p $out + cp -a * $out + + cd $out + rm -rvf \ + .??* \ + Vagrantfile \ + icingaweb2.spec \ + modules/doc \ + modules/setup \ + modules/test \ + modules/translation \ + packages \ + test + ''; +} -- cgit v1.2.3