Skip to content

Commit 0ec317b

Browse files
r-ryantmrisicle
authored andcommitted
graphviz: 9.0.0 -> 10.0.1
1 parent 9969aa0 commit 0ec317b

2 files changed

Lines changed: 13 additions & 6 deletions

File tree

pkgs/tools/graphics/graphviz/default.nix

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
, bison
1818
, xorg
1919
, ApplicationServices
20+
, Foundation
2021
, python3
2122
, fltk
2223
, exiv2
@@ -28,13 +29,13 @@ let
2829
in
2930
stdenv.mkDerivation rec {
3031
pname = "graphviz";
31-
version = "9.0.0";
32+
version = "10.0.1";
3233

3334
src = fetchFromGitLab {
3435
owner = "graphviz";
3536
repo = "graphviz";
3637
rev = version;
37-
hash = "sha256-lLESaULvHkWJjbKjjG9VIcVInqsDmY1OAAKfjCFDThQ=";
38+
hash = "sha256-KAqJUVqPld3F2FHlUlfbw848GPXXOmyRQkab8jlH1NM=";
3839
};
3940

4041
nativeBuildInputs = [
@@ -55,7 +56,7 @@ stdenv.mkDerivation rec {
5556
pango
5657
bash
5758
] ++ optionals withXorg (with xorg; [ libXrender libXaw libXpm ])
58-
++ optionals stdenv.isDarwin [ ApplicationServices ];
59+
++ optionals stdenv.isDarwin [ ApplicationServices Foundation ];
5960

6061
hardeningDisable = [ "fortify" ];
6162

@@ -71,7 +72,13 @@ stdenv.mkDerivation rec {
7172

7273
doCheck = false; # fails with "Graphviz test suite requires ksh93" which is not in nixpkgs
7374

74-
preAutoreconf = "./autogen.sh";
75+
preAutoreconf = ''
76+
# components under this directory require a tool `CompileXIB` to build
77+
# and there's no official way to disable this on darwin.
78+
substituteInPlace Makefile.am --replace-fail 'SUBDIRS += macosx' ""
79+
80+
./autogen.sh
81+
'';
7582

7683
postFixup = optionalString withXorg ''
7784
substituteInPlace $out/bin/vimdot \

pkgs/top-level/all-packages.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8844,11 +8844,11 @@ with pkgs;
88448844
);
88458845

88468846
graphviz = callPackage ../tools/graphics/graphviz {
8847-
inherit (darwin.apple_sdk.frameworks) ApplicationServices;
8847+
inherit (darwin.apple_sdk.frameworks) ApplicationServices Foundation;
88488848
};
88498849

88508850
graphviz-nox = callPackage ../tools/graphics/graphviz {
8851-
inherit (darwin.apple_sdk.frameworks) ApplicationServices;
8851+
inherit (darwin.apple_sdk.frameworks) ApplicationServices Foundation;
88528852
withXorg = false;
88538853
};
88548854

0 commit comments

Comments
 (0)