1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-19 20:36:27 +00:00
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-11-23 14:56:51 +00:00
version = "2016-11-16";
2014-11-07 23:57:34 +00:00
2016-01-13 15:45:00 +00:00
src = fetchFromGitHub {
owner = "zeromq";
repo = "cppzmq";
2016-11-23 14:56:51 +00:00
rev = "8b52a6ffacce27bac9b81c852b81539a77b0a6e5";
sha256 = "12accjyjzfw1wqzbj1qn6q99bj5ba05flsvbanyzflr3b4971s4p";
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;
};
}