xmind: 8-update8 -> 8-update9

Previous URL was no longer available.
GTK and JRE dependencies required fixing.

Closes #122916
This commit is contained in:
Markus S. Wamser 2022-09-07 15:53:12 +02:00
parent 32685cdb24
commit 51f9cbc44e

View File

@ -1,17 +1,17 @@
{ stdenv, lib, fetchzip, fetchurl, gtk2, jre, libXtst, makeWrapper, makeDesktopItem, runtimeShell }:
{ stdenv, lib, fetchzip, fetchurl, gtk3, jre8, libXtst, makeWrapper, makeDesktopItem, runtimeShell }:
stdenv.mkDerivation rec {
pname = "xmind";
version = "8-update8";
version = "8-update9";
src = fetchzip {
url = "https://xmind.net/xmind/downloads/${pname}-${version}-linux.zip";
url = "https://www.xmind.app/xmind/downloads/${pname}-${version}-linux.zip";
stripRoot = false;
sha256 = "1p68z0b4brgiyybz190alqv716ncql49vsksm41y90mcjd8s4jhn";
sha256 = "9769c4a9d42d3370ed2c2d1bed5a5d78f1fc3dc5bd604b064b56101fc7f90bb4";
};
srcIcon = fetchurl {
url = "https://aur.archlinux.org/cgit/aur.git/plain/xmind.png?h=xmind";
url = "https://aur.archlinux.org/cgit/aur.git/plain/xmind.png?h=xmind&id=41936c866b244b34d7dfbee373cbb835eed7860b";
sha256 = "0jxq2fiq69q9ly0m6hx2qfybqad22sl42ciw636071khpqgc885f";
};
@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
dontPatchELF = true;
dontStrip = true;
libPath = lib.makeLibraryPath [ gtk2 libXtst ];
libPath = lib.makeLibraryPath [ gtk3 libXtst ];
desktopItem = makeDesktopItem {
name = "XMind";
@ -67,7 +67,7 @@ stdenv.mkDerivation rec {
EOF
chmod +x $out/bin/XMind
ln -s ${jre} $out/libexec/jre
ln -s ${jre8} $out/libexec/jre
'';
meta = with lib; {