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