1{ stdenv, fetchFromGitHub }:
2
3stdenv.mkDerivation rec {
4 name = "cppzmq-${version}";
5 version = "2016-07-18";
6
7 src = fetchFromGitHub {
8 owner = "zeromq";
9 repo = "cppzmq";
10 rev = "92d2af6def80a01b76d5e73f073c439ad00ab757";
11 sha256 = "0lnwh314hh5ifad2sa2nz1g1ld1jc4vplm7clyvx304sjjvbvl27";
12 };
13
14 installPhase = ''
15 install -Dm644 zmq.hpp $out/include/zmq.hpp
16 '';
17
18 meta = with stdenv.lib; {
19 homepage = https://github.com/zeromq/cppzmq;
20 license = licenses.bsd2;
21 description = "C++ binding for 0MQ";
22 maintainers = with maintainers; [ abbradar ];
23 platforms = platforms.unix;
24 };
25}