blob: 5c5cce6ce224c54fafc70159b7f149741fe81eda (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
{ stdenv, fetchurl
, php
}:
stdenv.mkDerivation rec {
version = "2.5.1";
name = "icingaweb2-${version}";
src = fetchurl {
url = "https://github.com/Icinga/icingaweb2/archive/v${version}.tar.gz";
sha256 = "047s43amqj0i4k4xfac3n0784yvzphv3b9kirr4wycvn9pcz06d4";
};
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
'';
}
|