1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 cmake,
6 doxygen,
7}:
8
9stdenv.mkDerivation {
10 pname = "ogdf";
11 version = "2023.09";
12
13 src = fetchFromGitHub {
14 owner = "ogdf";
15 repo = "ogdf";
16 tag = "elderberry-202309";
17 hash = "sha256-vnhPuMhz+pE4ExhRhjwHy4OilIkJ/kXc2LWU+9auY9k=";
18 };
19
20 nativeBuildInputs = [
21 cmake
22 doxygen
23 ];
24
25 cmakeFlags = [
26 "-DCMAKE_CXX_FLAGS=-fPIC"
27 "-DBUILD_SHARED_LIBS=ON"
28 "-DOGDF_WARNING_ERRORS=OFF"
29 ];
30
31 meta = {
32 description = "Open Graph Drawing Framework/Open Graph algorithms and Data structure Framework";
33 homepage = "http://www.ogdf.net";
34 license = lib.licenses.gpl2;
35 maintainers = [ lib.maintainers.ianwookim ];
36 platforms = lib.platforms.all;
37 longDescription = ''
38 OGDF stands both for Open Graph Drawing Framework (the original name) and
39 Open Graph algorithms and Data structures Framework.
40
41 OGDF is a self-contained C++ library for graph algorithms, in particular
42 for (but not restricted to) automatic graph drawing. It offers sophisticated
43 algorithms and data structures to use within your own applications or
44 scientific projects.
45
46 OGDF is developed and supported by Osnabrück University, TU Dortmund,
47 University of Cologne, University of Konstanz, and TU Ilmenau.
48 '';
49 };
50}