mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 02:03:01 +00:00
3b6bc4b69c
these are the easily identifiable cases and will not be comprehensive
29 lines
771 B
Nix
29 lines
771 B
Nix
{ lib, stdenv, fetchurl }:
|
|
|
|
let
|
|
version = "1.2022.2";
|
|
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-h4ulXzZ5L+VPhk2CnZQNxfnEJzWT3B9TNvDEWt4o9Hk=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|