hdfview: 3.2.0 -> 3.3.0

Skip signing on macOS.

authored by R. Ryantm and committed by Weijia Wang 4f31422d 50aad914

+30 -2
+4 -2
pkgs/tools/misc/hdfview/default.nix
··· 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "hdfview"; 5 - version = "3.2.0"; 5 + version = "3.3.0"; 6 6 7 7 src = fetchurl { 8 8 url = "https://support.hdfgroup.org/ftp/HDF5/releases/HDF-JAVA/${pname}-${version}/src/${pname}-${version}.tar.gz"; 9 - sha256 = "sha256-08De/yy9lZUIxNqccS2nL7IE/2gYo0NPAKcHH46M8rg="; 9 + sha256 = "sha256-CRYWGGHCH6jdNUtEW0jv9aU9gKXAs4PnnrZLexCOJDA="; 10 10 }; 11 11 12 12 patches = [ 13 13 # Hardcode isUbuntu=false to avoid calling hostname to detect os 14 14 ./0001-Hardcode-isUbuntu-false-to-avoid-hostname-dependency.patch 15 + # Disable signing on macOS 16 + ./disable-mac-signing.patch 15 17 ]; 16 18 17 19 nativeBuildInputs = [
+26
pkgs/tools/misc/hdfview/disable-mac-signing.patch
··· 1 + diff --git a/build.xml b/build.xml 2 + index 70ab3e2..9460321 100644 3 + --- a/build.xml 4 + +++ b/build.xml 5 + @@ -1802,13 +1802,6 @@ 6 + description="Create the final package for distribution" /> 7 + 8 + <target name="createJPackageMac" depends="createJPackageBase" if="${isAppMac}"> 9 + - <!-- unlock keychain --> 10 + - <exec executable="security" dir="${dist.dir}" failonerror="true"> 11 + - <arg value="unlock-keychain" /> 12 + - <arg value="-p" /> 13 + - <arg value="${login.keychain_key}" /> 14 + - <arg value="login.keychain" /> 15 + - </exec> 16 + 17 + <echo> Create the mac jpackage</echo> 18 + <exec executable="${java.home}/bin/jpackage"> 19 + @@ -1864,7 +1857,6 @@ 20 + <arg value="app-image" /> 21 + <arg value="--icon" /> 22 + <arg value="${basedir}/package_files/macosx/HDFView.icns" /> 23 + - <arg value="--mac-sign" /> 24 + <arg value="--mac-package-identifier" /> 25 + <arg value="HDFView.hdfgroup.org" /> 26 + <arg value="--mac-package-name" />