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

26 lines
622 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}";
version = "2016-01-20";
2014-11-07 23:57:34 +00:00
2016-01-13 15:45:00 +00:00
src = fetchFromGitHub {
owner = "zeromq";
repo = "cppzmq";
2016-03-03 11:25:51 +00:00
rev = "68a7b09cfce01c4c279fba2cf91686fcfc566848";
sha256 = "00dsqqlm8mxhm8kfdspxfln0wzwkyywscnf264afw02k6xf28ndm";
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;
};
}