2015-06-10 01:07:46 -07:00
|
|
|
{ stdenv, fetchurl, libuuid, pkgconfig, libsodium }:
|
2014-05-01 04:52:21 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-11-09 15:29:13 -08:00
|
|
|
name = "zeromq-${version}";
|
2017-02-18 12:09:06 -08:00
|
|
|
version = "4.2.2";
|
2014-05-01 04:52:21 -07:00
|
|
|
|
|
|
|
src = fetchurl {
|
2016-11-09 15:29:13 -08:00
|
|
|
url = "https://github.com/zeromq/libzmq/releases/download/v${version}/${name}.tar.gz";
|
2017-02-18 12:09:06 -08:00
|
|
|
sha256 = "0syzwsiqblimfjb32fr6hswhdvp3cmbk0pgm7ayxaigmkv5g88sv";
|
2014-05-01 04:52:21 -07:00
|
|
|
};
|
|
|
|
|
2015-09-17 19:23:08 -07:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ libuuid libsodium ];
|
2014-05-01 04:52:21 -07:00
|
|
|
|
2015-03-11 18:48:23 -07:00
|
|
|
meta = with stdenv.lib; {
|
2014-05-01 04:52:21 -07:00
|
|
|
branch = "4";
|
|
|
|
homepage = "http://www.zeromq.org";
|
|
|
|
description = "The Intelligent Transport Layer";
|
2015-03-11 18:48:23 -07:00
|
|
|
license = licenses.gpl3;
|
|
|
|
platforms = platforms.all;
|
2016-11-09 15:29:13 -08:00
|
|
|
maintainers = with maintainers; [ wkennington fpletz ];
|
2014-05-01 04:52:21 -07:00
|
|
|
};
|
|
|
|
}
|