nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

Merge pull request #174495 from Artturin/graphvizupdate

graphviz: 2.50.0 -> 3.0.0

authored by

7c6f434c and committed by
GitHub
2ca477a8 68b24492

+12 -5
+12 -5
pkgs/tools/graphics/graphviz/default.nix
··· 19 19 , xorg 20 20 , ApplicationServices 21 21 , python3 22 + , fltk 23 + , exiv2 22 24 , withXorg ? true 23 25 }: 24 26 ··· 29 27 in 30 28 stdenv.mkDerivation { 31 29 pname = "graphviz"; 32 - version = "2.50.0"; 30 + version = "3.0.0"; 33 31 34 32 src = fetchFromGitLab { 35 33 owner = "graphviz"; 36 34 repo = "graphviz"; 37 35 # use rev as tags have disappeared before 38 - rev = "ca43e4c6a217650447e2928c2e9cb493c73ebd7d"; 39 - sha256 = "1psfgr8y4hh9yyzl04f7xbqb2y9k1xbja051j6b06q9dx7bmkmky"; 36 + rev = "24cf7232bb8728823466e0ef536862013893e567"; 37 + sha256 = "sha256-qqrpCJ9WP8wadupp4YRJMMaSCeFIDuFDQvEOpbG/wGM="; 40 38 }; 41 39 42 40 nativeBuildInputs = [ ··· 90 88 postFixup = optionalString withXorg '' 91 89 substituteInPlace $out/bin/dotty --replace '`which lefty`' $out/bin/lefty 92 90 substituteInPlace $out/bin/vimdot \ 93 - --replace /usr/bin/vi '$(command -v vi)' \ 94 - --replace /usr/bin/vim '$(command -v vim)' \ 91 + --replace '"/usr/bin/vi"' '"$(command -v vi)"' \ 92 + --replace '"/usr/bin/vim"' '"$(command -v vim)"' \ 95 93 --replace /usr/bin/vimdot $out/bin/vimdot \ 96 94 ''; 95 + 96 + passthru.tests = { 97 + inherit (python3.pkgs) pygraphviz; 98 + inherit fltk exiv2; 99 + }; 97 100 98 101 meta = with lib; { 99 102 homepage = "https://graphviz.org";