From da19ea145b49345d014873ed417b64bd4b258585 Mon Sep 17 00:00:00 2001 From: Alvar Penning Date: Fri, 7 Apr 2023 18:12:50 +0200 Subject: [PATCH] umlet: 15.0.0 -> 15.1.0 Based on : - Fix of a pesky, zero-size relation bug - log4j mitigation (not a problem per se, but had triggered warnings) - Dark mode tweaks --- pkgs/tools/misc/umlet/default.nix | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pkgs/tools/misc/umlet/default.nix b/pkgs/tools/misc/umlet/default.nix index 41da294d19a5..67cf61ebe5a1 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 ];