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

26 lines
622 B
Nix
Raw Normal View History

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-08-13 02:07:51 +02:00
version = "2016-07-18";
2014-11-08 00:57:34 +01:00
2016-01-13 16:45:00 +01:00
src = fetchFromGitHub {
owner = "zeromq";
repo = "cppzmq";
2016-08-13 02:07:51 +02:00
rev = "92d2af6def80a01b76d5e73f073c439ad00ab757";
sha256 = "0lnwh314hh5ifad2sa2nz1g1ld1jc4vplm7clyvx304sjjvbvl27";
2014-11-08 00:57:34 +01: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-08 00:57:34 +01:00
platforms = platforms.unix;
};
}