Commit da19ea14 authored by Alvar Penning's avatar Alvar Penning
Browse files

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
parent 504d4cbc
Loading
Loading
Loading
Loading
+8 −8
Original line number Diff line number Diff line
{ 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 ];