From 22fc1f600ef7c829e51f4188bb1d504f52fb0011 Mon Sep 17 00:00:00 2001 From: Claudio Bley Date: Thu, 14 Apr 2022 08:49:10 +0200 Subject: [PATCH] plantuml: Support PDF output Upstream seems to publish releases on sourceforge as well as on the Github repository, whereas the Github releases also contain a plantuml-pdf artifact which includes the needed dependencies (Apache batik) to support PDF output. Fixes #129937 --- pkgs/tools/misc/plantuml/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/tools/misc/plantuml/default.nix b/pkgs/tools/misc/plantuml/default.nix index 3a60c3be3692..3bfaf99d74e5 100644 --- a/pkgs/tools/misc/plantuml/default.nix +++ b/pkgs/tools/misc/plantuml/default.nix @@ -5,8 +5,8 @@ stdenv.mkDerivation rec { pname = "plantuml"; src = fetchurl { - url = "mirror://sourceforge/project/plantuml/${version}/plantuml.${version}.jar"; - sha256 = "sha256-u40P3YFiWd419Bz1NvhIsPa7nASl/I9z/L2Q5v9eOAo="; + url = "https://github.com/plantuml/plantuml/releases/download/v${version}/plantuml-pdf-${version}.jar"; + sha256 = "sha256-6ad6CUz1UAvNkhdUJhOME7OsLpIXiBoERfTmowzTz64="; }; nativeBuildInputs = [ makeWrapper ];