3
0
Fork 0
forked from mirrors/nixpkgs

ogdf: 2020.02 -> 2022.02 (#205164)

This commit is contained in:
Ian-Woo Kim 2023-01-18 11:39:20 -08:00 committed by GitHub
parent 9dae10bec9
commit 62ee07482e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,31 +2,29 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "ogdf"; pname = "ogdf";
version = "2020.02"; version = "2022.02";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = pname; owner = pname;
repo = pname; repo = pname;
rev = "catalpa-202002"; rev = "dogwood-202202";
sha256 = "0drrs8zh1097i5c60z9g658vs9k1iinkav8crlwk722ihfm1vxqd"; sha256 = "sha256-zkQ6sS0EUmiigv3T7To+tG3XbFbR3XEbFo15oQ0bWf0=";
}; };
nativeBuildInputs = [ cmake doxygen ]; nativeBuildInputs = [ cmake doxygen ];
cmakeFlags = [ "-DCMAKE_CXX_FLAGS=-fPIC" ]; cmakeFlags = [
"-DCMAKE_CXX_FLAGS=-fPIC"
# Without disabling hardening for format, the build fails with "-DBUILD_SHARED_LIBS=ON"
# the following error. "-DOGDF_WARNING_ERRORS=OFF"
#> /build/source/src/coin/CoinUtils/CoinMessageHandler.cpp:766:35: error: format not a string literal and no format arguments [-Werror=format-security] ];
#> 766 | sprintf(messageOut_,format_+2);
hardeningDisable = [ "format" ];
meta = with lib; { meta = with lib; {
description = "Open Graph Drawing Framework/Open Graph algorithms and Data structure Framework"; description = "Open Graph Drawing Framework/Open Graph algorithms and Data structure Framework";
homepage = "http://www.ogdf.net"; homepage = "http://www.ogdf.net";
license = licenses.gpl2; license = licenses.gpl2;
maintainers = [ maintainers.ianwookim ]; maintainers = [ maintainers.ianwookim ];
platforms = platforms.i686 ++ platforms.x86_64; platforms = platforms.all;
longDescription = '' longDescription = ''
OGDF stands both for Open Graph Drawing Framework (the original name) and OGDF stands both for Open Graph Drawing Framework (the original name) and
Open Graph algorithms and Data structures Framework. Open Graph algorithms and Data structures Framework.