From bde885a181ebec6096505c77e66f6516889313c1 Mon Sep 17 00:00:00 2001 From: Artturin Date: Wed, 25 May 2022 15:15:31 +0300 Subject: [PATCH] graphviz: 2.50.0 -> 3.0.0 https://gitlab.com/graphviz/graphviz/-/tags/3.0.0 also fixed the substituteInPlace it was replacing /usr/bin/vim to $(command -v vi)m --- pkgs/tools/graphics/graphviz/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/tools/graphics/graphviz/default.nix b/pkgs/tools/graphics/graphviz/default.nix index 924ac901f6a8..ad263b86e1fd 100644 --- a/pkgs/tools/graphics/graphviz/default.nix +++ b/pkgs/tools/graphics/graphviz/default.nix @@ -27,14 +27,14 @@ let in stdenv.mkDerivation { pname = "graphviz"; - version = "2.50.0"; + version = "3.0.0"; src = fetchFromGitLab { owner = "graphviz"; repo = "graphviz"; # use rev as tags have disappeared before - rev = "ca43e4c6a217650447e2928c2e9cb493c73ebd7d"; - sha256 = "1psfgr8y4hh9yyzl04f7xbqb2y9k1xbja051j6b06q9dx7bmkmky"; + rev = "24cf7232bb8728823466e0ef536862013893e567"; + sha256 = "sha256-qqrpCJ9WP8wadupp4YRJMMaSCeFIDuFDQvEOpbG/wGM="; }; nativeBuildInputs = [ @@ -88,8 +88,8 @@ stdenv.mkDerivation { postFixup = optionalString withXorg '' substituteInPlace $out/bin/dotty --replace '`which lefty`' $out/bin/lefty substituteInPlace $out/bin/vimdot \ - --replace /usr/bin/vi '$(command -v vi)' \ - --replace /usr/bin/vim '$(command -v vim)' \ + --replace '"/usr/bin/vi"' '"$(command -v vi)"' \ + --replace '"/usr/bin/vim"' '"$(command -v vim)"' \ --replace /usr/bin/vimdot $out/bin/vimdot \ '';