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

26 lines
624 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-03-03 11:25:51 +00:00
name = "cppzmq-${version}";
2016-08-13 01:07:51 +01:00
version = "2016-07-18";
2014-11-07 23:57:34 +00:00
2016-01-13 15:45:00 +00:00
src = fetchFromGitHub {
owner = "zeromq";
repo = "cppzmq";
2016-08-13 01:07:51 +01:00
rev = "92d2af6def80a01b76d5e73f073c439ad00ab757";
sha256 = "0lnwh314hh5ifad2sa2nz1g1ld1jc4vplm7clyvx304sjjvbvl27";
2014-11-07 23:57:34 +00:00
};
installPhase = ''
install -Dm644 zmq.hpp $out/include/zmq.hpp
'';
meta = with stdenv.lib; {
2016-11-23 14:49:18 +00:00
homepage = "https://github.com/zeromq/cppzmq";
2014-11-07 23:57:34 +00:00
license = licenses.bsd2;
description = "C++ binding for 0MQ";
maintainers = with maintainers; [ abbradar ];
2014-11-07 23:57:34 +00:00
platforms = platforms.unix;
};
}