diff options
author | Sergei Trofimovich <slyich@gmail.com> | 2022-07-13 07:41:05 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyich@gmail.com> | 2022-07-13 22:19:02 +0100 |
commit | 44283fc5574794c21cae6acfc90bb630640cb084 (patch) | |
tree | b0bb275248c72f2fd40836a6aa41995e0b46a5ad /pkgs/tools/graphics/graphviz | |
parent | bee8b6b38900aece7cb6d0908e64d98813e2bf5a (diff) |
graphviz: 3.0.0 -> 5.0.0
While at it switch back to tag-based fetches to ease automatic updates. Changes: https://gitlab.com/graphviz/graphviz/-/blob/main/CHANGELOG.md
Diffstat (limited to 'pkgs/tools/graphics/graphviz')
-rw-r--r-- | pkgs/tools/graphics/graphviz/default.nix | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/pkgs/tools/graphics/graphviz/default.nix b/pkgs/tools/graphics/graphviz/default.nix index 5798ec569185a..96a7ffb2ed490 100644 --- a/pkgs/tools/graphics/graphviz/default.nix +++ b/pkgs/tools/graphics/graphviz/default.nix @@ -27,16 +27,15 @@ let inherit (lib) optional optionals optionalString; in -stdenv.mkDerivation { +stdenv.mkDerivation rec { pname = "graphviz"; - version = "3.0.0"; + version = "5.0.0"; src = fetchFromGitLab { owner = "graphviz"; repo = "graphviz"; - # use rev as tags have disappeared before - rev = "24cf7232bb8728823466e0ef536862013893e567"; - sha256 = "sha256-qqrpCJ9WP8wadupp4YRJMMaSCeFIDuFDQvEOpbG/wGM="; + rev = version; + sha256 = "sha256-vDqVJJg2ezYGZPp7UtpvWfCypLBqRrr0aPMSyEN+IQo="; }; nativeBuildInputs = [ @@ -88,7 +87,6 @@ stdenv.mkDerivation { preAutoreconf = "./autogen.sh"; 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)"' \ |