about summary refs log tree commit diff
path: root/pkgs/tools/misc/umlet
diff options
context:
space:
mode:
authorAlvar Penning <post@0x21.biz>2023-04-07 18:12:50 +0200
committerAlvar Penning <post@0x21.biz>2023-09-13 20:59:57 +0200
commitda19ea145b49345d014873ed417b64bd4b258585 (patch)
treea7f065143294f16ebdb57bea6eef6e9fd261d271 /pkgs/tools/misc/umlet
parent504d4cbc7d306b57b9afb9fa85354002c38ec42d (diff)
umlet: 15.0.0 -> 15.1.0
Based on <https://www.umlet.com/changes.htm>:
- Fix of a pesky, zero-size relation bug
- log4j mitigation (not a problem per se, but had triggered warnings)
- Dark mode tweaks
Diffstat (limited to 'pkgs/tools/misc/umlet')
-rw-r--r--pkgs/tools/misc/umlet/default.nix16
1 files changed, 8 insertions, 8 deletions
diff --git a/pkgs/tools/misc/umlet/default.nix b/pkgs/tools/misc/umlet/default.nix
index 41da294d19a59..67cf61ebe5a12 100644
--- a/pkgs/tools/misc/umlet/default.nix
+++ b/pkgs/tools/misc/umlet/default.nix
@@ -1,16 +1,16 @@
 { lib, stdenv, fetchurl, jre, unzip, runtimeShell }:
 
-let
-  major = "15";
-  minor = "0";
-  patch = "0";
-in stdenv.mkDerivation rec {
+stdenv.mkDerivation {
   pname = "umlet";
-  version = "${major}.${minor}.${patch}";
+  version = "15.1.0";
 
   src = fetchurl {
-    url = "https://www.umlet.com/umlet_${major}_${minor}/umlet-standalone-${version}.zip";
-    sha256 = "sha256-gdvhqYGyrFuQhhrkF26wXb3TQLRCLm59/uSxTPmHdAE=";
+    # NOTE: The download URL breaks consistency - sometimes w/ patch versions
+    # and sometimes w/o. Furthermore, for 15.1.0 they moved everything to the
+    # new /download subfolder.
+    # As releases are very rarely, just modify it by hand..
+    url = "https://www.umlet.com/download/umlet_15_1/umlet-standalone-15.1.zip";
+    hash = "sha256-M6oVWbOmPBTygS+TFkY9PWucFfYLD33suNUuWpFLMIo=";
   };
 
   nativeBuildInputs = [ unzip ];