Add jzmq package.

This commit is contained in:
Danny Wilson 2013-02-06 13:24:57 +01:00
parent b7d4c94d52
commit c5750ea3e9
3 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,24 @@
{stdenv, fetchgit, automake, autoconf, libtool, pkgconfig, zeromq2, jdk}:
stdenv.mkDerivation rec {
name = "jzmq-2.1.0";
src = fetchgit {
url = git://github.com/zeromq/jzmq.git;
rev = "946fd39780423b2df6e5efd9fa2cd863fd79c9db";
};
buildInputs = [ automake autoconf libtool pkgconfig zeromq2 jdk ];
preConfigurePhases = ["./autogen.sh"];
preConfigure = if stdenv.system == "x86_64-darwin" then ''
sed -i -e 's~/Headers~/include~' -e 's~_JNI_INC_SUBDIRS=\".*\"~_JNI_INC_SUBDIRS=\"darwin\"~' configure
'' else "";
maintainers = [ stdenv.lib.maintainers.blue ];
meta = {
homepage = "http://www.zeromq.org";
description = "Java bindings for ZeroMQ";
};
}

View file

@ -17,6 +17,7 @@
bjornfor = "Bjørn Forsman <bjorn.forsman@gmail.com>";
bluescreen303 = "Mathijs Kwik <mathijs@bluescreen303.nl>";
bodil = "Bodil Stokke <nix@bodil.org>";
blue = "Danny Wilson <danny@prime.vc>";
chaoflow = "Florian Friesdorf <flo@chaoflow.net>";
coconnor = "Corey O'Connor <coreyoconnor@gmail.com>";
eelco = "Eelco Dolstra <eelco.dolstra@logicblox.com>";

View file

@ -5736,6 +5736,8 @@ let
junit = callPackage ../development/libraries/java/junit { };
jzmq = callPackage ../development/libraries/java/jzmq { };
lucene = callPackage ../development/libraries/java/lucene { };
mockobjects = callPackage ../development/libraries/java/mockobjects { };