From 511eecaa073dcff03fa8abb9e96658c3b565d898 Mon Sep 17 00:00:00 2001 From: Erik Nolf Date: Tue, 22 Aug 2023 19:40:58 +0200 Subject: [PATCH 1/2] xmedcon: add wrapGAppsHook This prevents some crashes on non-GNOME systems. --- pkgs/applications/science/medicine/xmedcon/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/science/medicine/xmedcon/default.nix b/pkgs/applications/science/medicine/xmedcon/default.nix index 5a0f3877cdbf..aaff6bb47723 100644 --- a/pkgs/applications/science/medicine/xmedcon/default.nix +++ b/pkgs/applications/science/medicine/xmedcon/default.nix @@ -6,6 +6,7 @@ , pkg-config , libpng , zlib +, wrapGAppsHook }: stdenv.mkDerivation rec { @@ -24,7 +25,7 @@ stdenv.mkDerivation rec { zlib ]; - nativeBuildInputs = [ pkg-config ]; + nativeBuildInputs = [ pkg-config wrapGAppsHook ]; meta = with lib; { description = "An open source toolkit for medical image conversion "; From 1375f052e426e683939b775968a55e23cf046783 Mon Sep 17 00:00:00 2001 From: Erik Nolf Date: Tue, 22 Aug 2023 19:43:26 +0200 Subject: [PATCH 2/2] xmedcon: update project homepage --- pkgs/applications/science/medicine/xmedcon/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/science/medicine/xmedcon/default.nix b/pkgs/applications/science/medicine/xmedcon/default.nix index aaff6bb47723..b09183f71b96 100644 --- a/pkgs/applications/science/medicine/xmedcon/default.nix +++ b/pkgs/applications/science/medicine/xmedcon/default.nix @@ -29,7 +29,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "An open source toolkit for medical image conversion "; - homepage = "https://xmedcon.sourceforge.io/Main/HomePage"; + homepage = "https://xmedcon.sourceforge.net/"; license = licenses.lgpl2Plus; maintainers = with maintainers; [ arianvp flokli ]; platforms = platforms.darwin ++ platforms.linux;