summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus S. Wamser <github-dev@mail2013.wamser.eu>2022-09-07 15:53:12 +0200
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2022-09-11 22:24:07 +0000
commitdedd71b12157d73b3e3ab5463f9299740fce776c (patch)
tree0eba43c966b2c0817af90ca687345730f3a5a24e
parentMerge pull request #186539 from NixOS/backport-186338-to-release-22.05 (diff)
downloadnixpkgs-origin/backport-190136-to-release-22.05.tar.gz
xmind: 8-update8 -> 8-update9origin/backport-190136-to-release-22.05
Previous URL was no longer available. GTK and JRE dependencies required fixing. Closes #122916 (cherry picked from commit 51f9cbc44ee42b10cd918148d325a37cedccd684)
-rw-r--r--pkgs/applications/misc/xmind/default.nix14
1 files changed, 7 insertions, 7 deletions
diff --git a/pkgs/applications/misc/xmind/default.nix b/pkgs/applications/misc/xmind/default.nix
index bcc4fca33b13..48c49a6409ee 100644
--- a/pkgs/applications/misc/xmind/default.nix
+++ b/pkgs/applications/misc/xmind/default.nix
@@ -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; {