diff options
author | Alyssa Ross <hi@alyssa.is> | 2020-04-01 15:50:50 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2020-04-01 15:50:50 +0000 |
commit | 75eafe97f7df0d653bec67f3962214d7c357831f (patch) | |
tree | 09f2cc901e0e637876cbb78d192dfe2fcfef8156 /nixpkgs/pkgs/development/libraries/ogdf | |
parent | a53b121bf4331497da63df3b1b7f1a7897dad146 (diff) | |
parent | a2e06fc3423c4be53181b15c28dfbe0bcf67dd73 (diff) | |
download | nixlib-75eafe97f7df0d653bec67f3962214d7c357831f.tar nixlib-75eafe97f7df0d653bec67f3962214d7c357831f.tar.gz nixlib-75eafe97f7df0d653bec67f3962214d7c357831f.tar.bz2 nixlib-75eafe97f7df0d653bec67f3962214d7c357831f.tar.lz nixlib-75eafe97f7df0d653bec67f3962214d7c357831f.tar.xz nixlib-75eafe97f7df0d653bec67f3962214d7c357831f.tar.zst nixlib-75eafe97f7df0d653bec67f3962214d7c357831f.zip |
Merge commit 'a2e06fc3423c4be53181b15c28dfbe0bcf67dd73'
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/ogdf')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/ogdf/default.nix | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/ogdf/default.nix b/nixpkgs/pkgs/development/libraries/ogdf/default.nix new file mode 100644 index 000000000000..bbef1d8b93d6 --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/ogdf/default.nix @@ -0,0 +1,43 @@ +{ stdenv, fetchFromGitHub, cmake, doxygen }: + +stdenv.mkDerivation rec { + pname = "ogdf"; + version = "2020.02"; + + src = fetchFromGitHub { + owner = pname; + repo = pname; + rev = "catalpa-202002"; + sha256 = "0drrs8zh1097i5c60z9g658vs9k1iinkav8crlwk722ihfm1vxqd"; + }; + + nativeBuildInputs = [ cmake doxygen ]; + + cmakeFlags = [ "-DCMAKE_CXX_FLAGS=-fPIC" ]; + + # Without disabling hardening for format, the build fails with + # the following error. + #> /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 stdenv.lib; { + description = "Open Graph Drawing Framework/Open Graph algorithms and Data structure Framework"; + homepage = "http://www.ogdf.net"; + license = licenses.gpl2; + maintainers = [ maintainers.ianwookim ]; + platforms = platforms.i686 ++ platforms.x86_64; + longDescription = '' + OGDF stands both for Open Graph Drawing Framework (the original name) and + Open Graph algorithms and Data structures Framework. + + OGDF is a self-contained C++ library for graph algorithms, in particular + for (but not restricted to) automatic graph drawing. It offers sophisticated + algorithms and data structures to use within your own applications or + scientific projects. + + OGDF is developed and supported by Osnabrück University, TU Dortmund, + University of Cologne, University of Konstanz, and TU Ilmenau. + ''; + }; +} |