Merge pull request #19559 from Profpatsch/weechat-man
weechat: generate manpages
This commit is contained in:
commit
14139d1088
@ -1,6 +1,7 @@
|
|||||||
{ stdenv, fetchurl, ncurses, openssl, aspell, gnutls
|
{ stdenv, fetchurl, ncurses, openssl, aspell, gnutls
|
||||||
, zlib, curl , pkgconfig, libgcrypt
|
, zlib, curl , pkgconfig, libgcrypt
|
||||||
, cmake, makeWrapper, libobjc, libiconv
|
, cmake, makeWrapper, libobjc, libiconv
|
||||||
|
, asciidoctor # manpages
|
||||||
, guileSupport ? true, guile
|
, guileSupport ? true, guile
|
||||||
, luaSupport ? true, lua5
|
, luaSupport ? true, lua5
|
||||||
, perlSupport ? true, perl
|
, perlSupport ? true, perl
|
||||||
@ -28,7 +29,13 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0d1wcpsxx13clcf1ygcn5hsa1pjkck4xznbjbxphbdxd5whsbv3k";
|
sha256 = "0d1wcpsxx13clcf1ygcn5hsa1pjkck4xznbjbxphbdxd5whsbv3k";
|
||||||
};
|
};
|
||||||
|
|
||||||
cmakeFlags = with stdenv.lib; []
|
outputs = [ "out" "doc" ];
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
cmakeFlags = with stdenv.lib; [
|
||||||
|
"-DENABLE_MAN=ON"
|
||||||
|
"-DENABLE_DOC=ON"
|
||||||
|
]
|
||||||
++ optionals stdenv.isDarwin ["-DICONV_LIBRARY=${libiconv}/lib/libiconv.dylib" "-DCMAKE_FIND_FRAMEWORK=LAST"]
|
++ optionals stdenv.isDarwin ["-DICONV_LIBRARY=${libiconv}/lib/libiconv.dylib" "-DCMAKE_FIND_FRAMEWORK=LAST"]
|
||||||
++ optional (!guileSupport) "-DENABLE_GUILE=OFF"
|
++ optional (!guileSupport) "-DENABLE_GUILE=OFF"
|
||||||
++ optional (!luaSupport) "-DENABLE_LUA=OFF"
|
++ optional (!luaSupport) "-DENABLE_LUA=OFF"
|
||||||
@ -41,6 +48,7 @@ stdenv.mkDerivation rec {
|
|||||||
ncurses python openssl aspell gnutls zlib curl pkgconfig
|
ncurses python openssl aspell gnutls zlib curl pkgconfig
|
||||||
libgcrypt pycrypto makeWrapper
|
libgcrypt pycrypto makeWrapper
|
||||||
cmake
|
cmake
|
||||||
|
asciidoctor
|
||||||
]
|
]
|
||||||
++ optionals stdenv.isDarwin [ pync libobjc ]
|
++ optionals stdenv.isDarwin [ pync libobjc ]
|
||||||
++ optional guileSupport guile
|
++ optional guileSupport guile
|
||||||
|
Loading…
Reference in New Issue
Block a user