1 { lib, stdenv, fetchFromGitHub, cmake, zeromq }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "sha256-hKMHJF/FXPeQjkEXLTN6zjKMaVGa3LdIebXya3NRSzU=";
14 nativeBuildInputs = [ cmake ];
15 buildInputs = [ zeromq ];
18 # Tests try to download googletest at compile time; there is no option
19 # to use a system one and no simple way to download it beforehand.
20 "-DCPPZMQ_BUILD_TESTS=OFF"
24 homepage = "https://github.com/zeromq/cppzmq";
25 license = licenses.bsd2;
26 description = "C++ binding for 0MQ";
27 maintainers = with maintainers; [ abbradar ];
28 platforms = platforms.unix;