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