1 { lib, stdenv, fetchFromGitHub, cmake, doxygen }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
10 rev = "catalpa-202002";
11 sha256 = "0drrs8zh1097i5c60z9g658vs9k1iinkav8crlwk722ihfm1vxqd";
14 nativeBuildInputs = [ cmake doxygen ];
16 cmakeFlags = [ "-DCMAKE_CXX_FLAGS=-fPIC" ];
18 # Without disabling hardening for format, the build fails with
19 # the following error.
20 #> /build/source/src/coin/CoinUtils/CoinMessageHandler.cpp:766:35: error: format not a string literal and no format arguments [-Werror=format-security]
21 #> 766 | sprintf(messageOut_,format_+2);
22 hardeningDisable = [ "format" ];
25 description = "Open Graph Drawing Framework/Open Graph algorithms and Data structure Framework";
26 homepage = "http://www.ogdf.net";
27 license = licenses.gpl2;
28 maintainers = [ maintainers.ianwookim ];
29 platforms = platforms.i686 ++ platforms.x86_64;
31 OGDF stands both for Open Graph Drawing Framework (the original name) and
32 Open Graph algorithms and Data structures Framework.
34 OGDF is a self-contained C++ library for graph algorithms, in particular
35 for (but not restricted to) automatic graph drawing. It offers sophisticated
36 algorithms and data structures to use within your own applications or
39 OGDF is developed and supported by Osnabrück University, TU Dortmund,
40 University of Cologne, University of Konstanz, and TU Ilmenau.