mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
Updated OpenFire
svn path=/nixpkgs/trunk/; revision=12470
This commit is contained in:
parent
407b3e2e0d
commit
c4216c4aba
34
pkgs/servers/xmpp/openfire/3.5.2.nix
Normal file
34
pkgs/servers/xmpp/openfire/3.5.2.nix
Normal file
@ -0,0 +1,34 @@
|
||||
args : with args; with builderDefs {src="";} null;
|
||||
let localDefs = builderDefs (rec {
|
||||
src = /* put a fetchurl here */
|
||||
fetchurl {
|
||||
url = http://www.igniterealtime.org/downloadServlet?filename=openfire/openfire_3_5_2.tar.gz;
|
||||
sha256 = "13xzwl8kc8i8xgdv7fpwgkj1wjhzagx4b03fkkj2hcfgdkp1978q";
|
||||
};
|
||||
|
||||
buildInputs = [jre];
|
||||
configureFlags = [];
|
||||
|
||||
installPhase = FullDepEntry (''
|
||||
sed -e 's@\(common_jvm_locations\)=.*@\1${jre}@' -i bin/openfire
|
||||
cp -r . $out
|
||||
rm -r $out/logs
|
||||
mv $out/conf $out/conf.inst
|
||||
ln -s /var/log/openfire $out/logs
|
||||
ln -s /etc/openfire $out/conf
|
||||
'')
|
||||
["minInit" "doUnpack" "addInputs"];
|
||||
}) null; /* null is a terminator for sumArgs */
|
||||
in with localDefs;
|
||||
stdenv.mkDerivation rec {
|
||||
name = "openfire-"+version;
|
||||
builder = writeScript (name + "-builder")
|
||||
(textClosure localDefs
|
||||
[ installPhase doForceShare doPropagate]);
|
||||
meta = {
|
||||
description = "
|
||||
XMPP server in Java.
|
||||
";
|
||||
inherit src;
|
||||
};
|
||||
}
|
@ -4606,7 +4606,7 @@ let pkgs = rec {
|
||||
inherit fetchurl stdenv openssh;
|
||||
};
|
||||
|
||||
openfireFun = lib.sumArgs (selectVersion ../servers/xmpp/openfire "3.4.5") {
|
||||
openfireFun = lib.sumArgs (selectVersion ../servers/xmpp/openfire "3.5.2") {
|
||||
inherit builderDefs jre;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user