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

25 lines
590 B
Nix
Raw Normal View History

2017-07-27 14:52:30 +02:00
{ stdenv, fetchFromGitHub, cmake, zeromq }:
2014-11-08 00:57:34 +01:00
stdenv.mkDerivation rec {
2016-03-03 12:25:51 +01:00
name = "cppzmq-${version}";
2018-02-25 18:03:33 +01:00
version = "4.2.3";
2014-11-08 00:57:34 +01:00
2016-01-13 16:45:00 +01:00
src = fetchFromGitHub {
owner = "zeromq";
repo = "cppzmq";
2017-07-27 14:52:30 +02:00
rev = "v${version}";
2018-02-25 18:03:33 +01:00
sha256 = "1yjs25ra5s8zs0rhk50w3f1rrrl80hhq784lwdhh1m3risk740sa";
2014-11-08 00:57:34 +01:00
};
2017-07-27 14:52:30 +02:00
nativeBuildInputs = [ cmake ];
buildInputs = [ zeromq ];
2014-11-08 00:57:34 +01:00
meta = with stdenv.lib; {
homepage = https://github.com/zeromq/cppzmq;
2014-11-08 00:57:34 +01:00
license = licenses.bsd2;
description = "C++ binding for 0MQ";
maintainers = with maintainers; [ abbradar ];
2014-11-08 00:57:34 +01:00
platforms = platforms.unix;
};
}