5e9e1146e1
GitOrigin-RevId: 18036c0be90f4e308ae3ebcab0e14aae0336fe42
28 lines
772 B
Nix
28 lines
772 B
Nix
{ lib, stdenv, fetchurl }:
|
|
|
|
let
|
|
version = "1.2023.10";
|
|
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";
|
|
sha256 = "sha256-EIdqY8sonLaHZCfOfAaUhm4M1XOek2M1OqPZkb/CTg4=";
|
|
};
|
|
|
|
dontUnpack = true;
|
|
installPhase = ''
|
|
mkdir -p "$out/webapps"
|
|
cp "$src" "$out/webapps/plantuml.war"
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "A web application to generate UML diagrams on-the-fly.";
|
|
homepage = "https://plantuml.com/";
|
|
sourceProvenance = with sourceTypes; [ binaryBytecode ];
|
|
license = licenses.gpl3Plus;
|
|
platforms = platforms.all;
|
|
maintainers = with maintainers; [ truh ];
|
|
};
|
|
}
|