2016-01-13 16:45:00 +01:00
|
|
|
{ stdenv, fetchFromGitHub }:
|
2014-11-08 00:57:34 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-03-03 12:25:51 +01:00
|
|
|
name = "cppzmq-${version}";
|
2016-11-23 15:56:51 +01:00
|
|
|
version = "2016-11-16";
|
2014-11-08 00:57:34 +01:00
|
|
|
|
2016-01-13 16:45:00 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "zeromq";
|
|
|
|
repo = "cppzmq";
|
2016-11-23 15:56:51 +01:00
|
|
|
rev = "8b52a6ffacce27bac9b81c852b81539a77b0a6e5";
|
|
|
|
sha256 = "12accjyjzfw1wqzbj1qn6q99bj5ba05flsvbanyzflr3b4971s4p";
|
2014-11-08 00:57:34 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
install -Dm644 zmq.hpp $out/include/zmq.hpp
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2016-11-23 15:49:18 +01:00
|
|
|
homepage = "https://github.com/zeromq/cppzmq";
|
2014-11-08 00:57:34 +01:00
|
|
|
license = licenses.bsd2;
|
|
|
|
description = "C++ binding for 0MQ";
|
2015-05-14 19:09:10 +02:00
|
|
|
maintainers = with maintainers; [ abbradar ];
|
2014-11-08 00:57:34 +01:00
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|