1 { lib, stdenv, fetchFromGitHub, cmake, doxygen }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "148361pixrm94q6v04k13s1msa04bx9yc3djb0lxpa7dlw19vhcd";
14 NIX_CFLAGS_COMPILE = "-Wno-error=parentheses";
16 nativeBuildInputs = [ cmake doxygen ];
19 "-DUri_BUILD_TESTS=OFF" "-DUri_BUILD_DOCS=ON" "-DBUILD_SHARED_LIBS=ON"
22 postBuild = "make doc";
25 install -vd $out/share/doc
26 cp -vR html $out/share/doc
30 description = "C++ URI library";
31 homepage = "https://cpp-netlib.org";
32 license = lib.licenses.boost;
33 platforms = lib.platforms.all;