2022-03-15 15:44:16 +00:00
|
|
|
{ lib, stdenv, fetchurl }:
|
2020-07-08 16:55:37 +01:00
|
|
|
|
|
|
|
let
|
2022-11-22 21:00:24 +00:00
|
|
|
version = "1.2022.13";
|
2020-07-08 16:55:37 +01:00
|
|
|
in
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "plantuml-server";
|
|
|
|
inherit version;
|
2022-03-15 15:44:16 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/plantuml/plantuml-server/releases/download/v${version}/plantuml-v${version}.war";
|
2022-11-22 21:00:24 +00:00
|
|
|
sha256 = "sha256-XQXG4/wrpFZ3Z7b7K5hWuZQXcvaYvV3igjtNPtOQ7FE=";
|
2022-03-15 15:44:16 +00:00
|
|
|
};
|
2020-07-08 16:55:37 +01:00
|
|
|
|
2022-03-15 15:44:16 +00:00
|
|
|
dontUnpack = true;
|
2020-07-08 16:55:37 +01:00
|
|
|
installPhase = ''
|
|
|
|
mkdir -p "$out/webapps"
|
2022-03-15 15:44:16 +00:00
|
|
|
cp "$src" "$out/webapps/plantuml.war"
|
2020-07-08 16:55:37 +01:00
|
|
|
'';
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-07-08 16:55:37 +01:00
|
|
|
description = "A web application to generate UML diagrams on-the-fly.";
|
|
|
|
homepage = "https://plantuml.com/";
|
2022-06-02 14:38:41 +01:00
|
|
|
sourceProvenance = with sourceTypes; [ binaryBytecode ];
|
2021-05-15 10:56:22 +01:00
|
|
|
license = licenses.gpl3Plus;
|
2020-07-08 16:55:37 +01:00
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ truh ];
|
|
|
|
};
|
|
|
|
}
|