Added Apache Felix gateway and remote shell packages

svn path=/nixpkgs/trunk/; revision=21240
This commit is contained in:
Sander van der Burg 2010-04-22 14:01:57 +00:00
parent 2894233ff6
commit 1bf1500d39
3 changed files with 44 additions and 0 deletions

View File

@ -0,0 +1,22 @@
{stdenv, fetchurl}:
stdenv.mkDerivation {
name = "apache-felix-2.0.5";
src = fetchurl {
url = http://apache.xl-mirror.nl/felix/org.apache.felix.main.distribution-2.0.5.tar.gz;
sha256 = "14nva0q1b45kmmalcls5yx97syd4vn3vcp8gywck1098qhidi66g";
};
buildCommand =
''
tar xfvz $src
cd felix-framework-*
ensureDir $out
cp -av * $out
'';
meta = {
description = "Apache Felix OSGi gateway";
homepage = http://felix.apache.org;
license = "ASF";
maintainers = [ stdenv.lib.maintainers.sander ];
};
}

View File

@ -0,0 +1,14 @@
{stdenv, fetchurl}:
stdenv.mkDerivation rec {
name = "apache-felix-remoteshell-bundle-1.0.4";
src = fetchurl {
url = http://apache.proserve.nl/felix/org.apache.felix.shell.remote-1.0.4.jar;
sha256 = "1bgahzs9nnnvfr0yyh9s0r6h1zp2ls6533377rp8r1qk2a4s1gzb";
};
buildCommand =
''
ensureDir $out/bundle
cp ${src} $out/bundle/org.apache.felix.shell.remote-1.0.4.jar
'';
}

View File

@ -5476,6 +5476,14 @@ let
inherit fetchurl stdenv erlang spidermonkey icu getopt
curl;
};
felix = import ../servers/felix {
inherit stdenv fetchurl;
};
felix_remoteshell = import ../servers/felix/remoteshell.nix {
inherit stdenv fetchurl;
};
fingerd_bsd = import ../servers/fingerd/bsd-fingerd {
inherit fetchurl stdenv;