nixpkgs/pkgs/development/libraries/cppzmq/default.nix

25 lines
594 B
Nix
Raw Normal View History

2016-01-13 15:45:00 +00:00
{ stdenv, fetchFromGitHub }:
2014-11-07 23:57:34 +00:00
stdenv.mkDerivation rec {
2016-01-13 15:45:00 +00:00
name = "cppzmq-20151203";
2014-11-07 23:57:34 +00:00
2016-01-13 15:45:00 +00:00
src = fetchFromGitHub {
owner = "zeromq";
repo = "cppzmq";
rev = "7f7c83411d83eafe57ae6ffc2972ad9455ac258e";
sha256 = "1h6fl7mgkv98gz0csbp525a4bp1w9nwm059gwmmv1wqc1l741pv7";
2014-11-07 23:57:34 +00:00
};
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 ];
2014-11-07 23:57:34 +00:00
platforms = platforms.unix;
};
}