nixpkgs/pkgs/tools/misc/plantuml-server/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
772 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl }:
2020-07-08 15:55:37 +00:00
let
2023-07-24 00:06:42 +00:00
version = "1.2023.10";
2020-07-08 15:55:37 +00:00
in
stdenv.mkDerivation rec {
pname = "plantuml-server";
inherit version;
src = fetchurl {
url = "https://github.com/plantuml/plantuml-server/releases/download/v${version}/plantuml-v${version}.war";
2023-07-24 00:06:42 +00:00
sha256 = "sha256-EIdqY8sonLaHZCfOfAaUhm4M1XOek2M1OqPZkb/CTg4=";
};
2020-07-08 15:55:37 +00:00
dontUnpack = true;
2020-07-08 15:55:37 +00:00
installPhase = ''
mkdir -p "$out/webapps"
cp "$src" "$out/webapps/plantuml.war"
2020-07-08 15:55:37 +00:00
'';
meta = with lib; {
2020-07-08 15:55:37 +00:00
description = "A web application to generate UML diagrams on-the-fly.";
homepage = "https://plantuml.com/";
sourceProvenance = with sourceTypes; [ binaryBytecode ];
2021-05-15 09:56:22 +00:00
license = licenses.gpl3Plus;
2020-07-08 15:55:37 +00:00
platforms = platforms.all;
maintainers = with maintainers; [ truh ];
};
}