File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717, bison
1818, xorg
1919, ApplicationServices
20+ , Foundation
2021, python3
2122, fltk
2223, exiv2
2829in
2930stdenv . 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 \
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments