summary refs log tree commit diff
path: root/pkgs/development/libraries/cppzmq/default.nix
blob: c8ab48288a1cac55fb58c55f05ddf4924f1bb486 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ stdenv, fetchFromGitHub }:

stdenv.mkDerivation rec {
  name = "cppzmq-20151203";

  src = fetchFromGitHub {
    owner = "zeromq";
    repo = "cppzmq";
    rev = "7f7c83411d83eafe57ae6ffc2972ad9455ac258e";
    sha256 = "1h6fl7mgkv98gz0csbp525a4bp1w9nwm059gwmmv1wqc1l741pv7";
  };

  installPhase = ''
    install -Dm644 zmq.hpp $out/include/zmq.hpp
  '';

  meta = with stdenv.lib; {
    homepage = https://github.com/zeromq/cppzmq;
    license = licenses.bsd2;
    description = "C++ binding for 0MQ";
    maintainers = with maintainers; [ abbradar ];
    platforms = platforms.unix;
  };
}