uriparser: disable building docs

This commit is contained in:
Dmitry Kalinkin 2020-04-23 16:32:41 -04:00
parent ec6bc32a3d
commit db664905e3
No known key found for this signature in database
GPG Key ID: 5157B3EC8B2CA333

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, fetchpatch, cmake, gtest, doxygen, graphviz }: { lib, stdenv, fetchurl, fetchpatch, cmake, gtest }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "uriparser"; pname = "uriparser";
@ -18,7 +18,11 @@ stdenv.mkDerivation rec {
}) })
]; ];
nativeBuildInputs = [ cmake doxygen graphviz ]; nativeBuildInputs = [ cmake ];
cmakeFlags = [
"-DURIPARSER_BUILD_DOCS=OFF"
];
checkInputs = [ gtest ]; checkInputs = [ gtest ];
doCheck = stdenv.targetPlatform.system == stdenv.hostPlatform.system; doCheck = stdenv.targetPlatform.system == stdenv.hostPlatform.system;