Merge pull request #65049 from matthewbauer/zmq-enable-drafts
zmq: enable drafts api
This commit is contained in:
commit
6ff7c2ca93
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchFromGitHub, cmake, asciidoc }:
|
{ stdenv, fetchFromGitHub, cmake, asciidoc, enableDrafts ? false }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "zeromq-${version}";
|
name = "zeromq-${version}";
|
||||||
@ -17,6 +17,8 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
doCheck = false; # fails all the tests (ctest)
|
doCheck = false; # fails all the tests (ctest)
|
||||||
|
|
||||||
|
cmakeFlags = if enableDrafts then [ "-DENABLE_DRAFTS=ON" ] else null;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
branch = "4";
|
branch = "4";
|
||||||
homepage = http://www.zeromq.org;
|
homepage = http://www.zeromq.org;
|
||||||
|
@ -434,7 +434,10 @@ let
|
|||||||
};
|
};
|
||||||
stripDebugList = [ "share" ];
|
stripDebugList = [ "share" ];
|
||||||
packageRequires = [ emacs ];
|
packageRequires = [ emacs ];
|
||||||
nativeBuildInputs = [ external.autoconf external.automake external.pkgconfig external.libtool external.zeromq ];
|
nativeBuildInputs = [
|
||||||
|
external.autoconf external.automake external.pkgconfig external.libtool
|
||||||
|
(external.zeromq.override { enableDrafts = true; })
|
||||||
|
];
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
make
|
make
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user