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