summaryrefslogtreecommitdiffstats
path: root/pkgs/servers/felix
diff options
context:
space:
mode:
authorSander van der Burg <s.vanderburg@tudelft.nl>2010-04-22 14:01:57 +0000
committerSander van der Burg <s.vanderburg@tudelft.nl>2010-04-22 14:01:57 +0000
commit1bf1500d3993f9040e676c4d5a679499ebbb2951 (patch)
tree319e178cfc45a8a3725c0e97a659b1e03e6c65f4 /pkgs/servers/felix
parent2894233ff6172bb69e16766680fcd6e94dfaa0b3 (diff)
Added Apache Felix gateway and remote shell packages
svn path=/nixpkgs/trunk/; revision=21240
Diffstat (limited to 'pkgs/servers/felix')
-rw-r--r--pkgs/servers/felix/default.nix22
-rw-r--r--pkgs/servers/felix/remoteshell.nix14
2 files changed, 36 insertions, 0 deletions
diff --git a/pkgs/servers/felix/default.nix b/pkgs/servers/felix/default.nix
new file mode 100644
index 000000000000..c600573ba86e
--- /dev/null
+++ b/pkgs/servers/felix/default.nix
@@ -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 ];
+ };
+}
diff --git a/pkgs/servers/felix/remoteshell.nix b/pkgs/servers/felix/remoteshell.nix
new file mode 100644
index 000000000000..4d6a8d8318f7
--- /dev/null
+++ b/pkgs/servers/felix/remoteshell.nix
@@ -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
+ '';
+}