2017-07-27 05:52:30 -07:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, zeromq }:
|
2014-11-07 15:57:34 -08:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-03-03 03:25:51 -08:00
|
|
|
name = "cppzmq-${version}";
|
2018-02-25 09:03:33 -08:00
|
|
|
version = "4.2.3";
|
2014-11-07 15:57:34 -08:00
|
|
|
|
2016-01-13 07:45:00 -08:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "zeromq";
|
|
|
|
repo = "cppzmq";
|
2017-07-27 05:52:30 -07:00
|
|
|
rev = "v${version}";
|
2018-02-25 09:03:33 -08:00
|
|
|
sha256 = "1yjs25ra5s8zs0rhk50w3f1rrrl80hhq784lwdhh1m3risk740sa";
|
2014-11-07 15:57:34 -08:00
|
|
|
};
|
|
|
|
|
2017-07-27 05:52:30 -07:00
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
buildInputs = [ zeromq ];
|
2014-11-07 15:57:34 -08:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2017-08-01 13:03:30 -07:00
|
|
|
homepage = https://github.com/zeromq/cppzmq;
|
2014-11-07 15:57:34 -08:00
|
|
|
license = licenses.bsd2;
|
|
|
|
description = "C++ binding for 0MQ";
|
2015-05-14 10:09:10 -07:00
|
|
|
maintainers = with maintainers; [ abbradar ];
|
2014-11-07 15:57:34 -08:00
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|