1 { lib, stdenv, fetchurl, jre, unzip, runtimeShell }:
8 # NOTE: The download URL breaks consistency - sometimes w/ patch versions
9 # and sometimes w/o. Furthermore, for 15.1.0 they moved everything to the
10 # new /download subfolder.
11 # As releases are very rarely, just modify it by hand..
12 url = "https://www.umlet.com/download/umlet_15_1/umlet-standalone-15.1.zip";
13 hash = "sha256-M6oVWbOmPBTygS+TFkY9PWucFfYLD33suNUuWpFLMIo=";
16 nativeBuildInputs = [ unzip ];
24 cat > "$out/bin/umlet" << EOF
30 then "${jre}/bin/java" -jar "\$programDir/umlet.jar" -filename="\$1"
31 else "${jre}/bin/java" -jar "\$programDir/umlet.jar" "\$@"
35 chmod a+x "$out/bin/umlet"
39 description = "Free, open-source UML tool with a simple user interface";
41 UMLet is a free, open-source UML tool with a simple user interface:
42 draw UML diagrams fast, produce sequence and activity diagrams from
43 plain text, export diagrams to eps, pdf, jpg, svg, and clipboard,
44 share diagrams using Eclipse, and create new, custom UML elements.
45 UMLet runs stand-alone or as Eclipse plug-in on Windows, macOS and
48 homepage = "https://www.umlet.com";
49 sourceProvenance = with sourceTypes; [ binaryBytecode ];
50 license = licenses.gpl3;
51 maintainers = with maintainers; [ oxzi ];
52 platforms = platforms.all;
53 mainProgram = "umlet";