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
main
Claudio Bley 2 years ago committed by Bjørn Forsman
parent 04c6c6a118
commit 22fc1f600e
  1. 4
      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 ];

Loading…
Cancel
Save