diff options
author | Aaron Jheng <wentworth@outlook.com> | 2022-11-24 03:22:47 +0000 |
---|---|---|
committer | Aaron Jheng <wentworth@outlook.com> | 2022-11-25 12:37:08 +0000 |
commit | dc3614605fc435c06d159db8fd69c381f4b50578 (patch) | |
tree | c8c289c20a79a699d0d6442ccfaf64db84cb4976 /pkgs | |
parent | f8c61f361e3024065e6e1b05294cde6614fd6000 (diff) |
graphviz: 7.0.0 -> 7.0.2
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/tools/graphics/graphviz/default.nix | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/pkgs/tools/graphics/graphviz/default.nix b/pkgs/tools/graphics/graphviz/default.nix index aaf42193ce7df..98d2c63d1bfd0 100644 --- a/pkgs/tools/graphics/graphviz/default.nix +++ b/pkgs/tools/graphics/graphviz/default.nix @@ -30,13 +30,13 @@ let in stdenv.mkDerivation rec { pname = "graphviz"; - version = "7.0.0"; + version = "7.0.2"; src = fetchFromGitLab { owner = "graphviz"; repo = "graphviz"; rev = version; - sha256 = "sha256-n+g4XNTSbCXOoL7JIE6uP9AZJj3YDfTG9EcmUA+r8hY="; + hash = "sha256-iCpIKTGXZ1R3mbpbwv5ztdtjY7p9/NsJlA6u5lfpgdY="; }; nativeBuildInputs = [ @@ -65,26 +65,15 @@ stdenv.mkDerivation rec { configureFlags = [ "--with-ltdl-lib=${libtool.lib}/lib" "--with-ltdl-include=${libtool}/include" - ] ++ lib.optional (xorg == null) "--without-x"; + ] ++ optional (xorg == null) "--without-x"; enableParallelBuilding = true; - CPPFLAGS = lib.optionalString (withXorg && stdenv.isDarwin) + CPPFLAGS = optionalString (withXorg && stdenv.isDarwin) "-I${cairo.dev}/include/cairo"; - # '' - # substituteInPlace rtest/rtest.sh \ - # --replace "/bin/ksh" "${mksh}/bin/mksh" - # ''; - doCheck = false; # fails with "Graphviz test suite requires ksh93" which is not in nixpkgs - postPatch = '' - for f in $(find . -name Makefile.in); do - substituteInPlace $f --replace "-lstdc++" "-lc++" - done - ''; - preAutoreconf = "./autogen.sh"; postFixup = optionalString withXorg '' |