jzmq: 2.1.0 -> 3.1.0
This commit is contained in:
parent
2c44af9721
commit
bdf89d2818
@ -1,29 +1,30 @@
|
||||
{stdenv, fetchgit, automake, autoconf, libtool, pkgconfig, zeromq2, jdk}:
|
||||
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, zeromq3, jdk }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "jzmq-2.1.0";
|
||||
name = "jzmq-${version}";
|
||||
version = "3.1.0";
|
||||
|
||||
src = fetchgit {
|
||||
url = git://github.com/zeromq/jzmq.git;
|
||||
rev = "946fd39780423b2df6e5efd9fa2cd863fd79c9db";
|
||||
sha256 = "08pqh673fcqwm68hmnsmzrz4vzlwr0x9hdysic5k5mh7z411xzmp";
|
||||
src = fetchFromGitHub {
|
||||
owner = "zeromq";
|
||||
repo = "jzmq";
|
||||
rev = "v${version}";
|
||||
sha256 = "1wlzs604mgmqmrgpk4pljx2nrlxzdfi3r8k59qlm90fx8qkqkc63";
|
||||
};
|
||||
|
||||
buildInputs = [ automake autoconf libtool pkgconfig zeromq2 jdk ];
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
buildInputs = [ pkgconfig zeromq3 jdk ];
|
||||
|
||||
preConfigurePhases = ["./autogen.sh"];
|
||||
preConfigure = ''
|
||||
sed -i -e 's|(JAVAC)|(JAVAC) -encoding utf8|' src/Makefile.in
|
||||
${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.vizanto ];
|
||||
meta = {
|
||||
homepage = "http://www.zeromq.org";
|
||||
description = "Java bindings for ZeroMQ";
|
||||
platforms = stdenv.lib.platforms.unix;
|
||||
license = stdenv.lib.licenses.lgpl3;
|
||||
maintainers = [ stdenv.lib.maintainers.vizanto ];
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user