hdfview: 3.2.0 -> 3.3.0
Skip signing on macOS.
This commit is contained in:
parent
50aad914fc
commit
4f31422db1
|
@ -2,16 +2,18 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "hdfview";
|
pname = "hdfview";
|
||||||
version = "3.2.0";
|
version = "3.3.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://support.hdfgroup.org/ftp/HDF5/releases/HDF-JAVA/${pname}-${version}/src/${pname}-${version}.tar.gz";
|
url = "https://support.hdfgroup.org/ftp/HDF5/releases/HDF-JAVA/${pname}-${version}/src/${pname}-${version}.tar.gz";
|
||||||
sha256 = "sha256-08De/yy9lZUIxNqccS2nL7IE/2gYo0NPAKcHH46M8rg=";
|
sha256 = "sha256-CRYWGGHCH6jdNUtEW0jv9aU9gKXAs4PnnrZLexCOJDA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
# Hardcode isUbuntu=false to avoid calling hostname to detect os
|
# Hardcode isUbuntu=false to avoid calling hostname to detect os
|
||||||
./0001-Hardcode-isUbuntu-false-to-avoid-hostname-dependency.patch
|
./0001-Hardcode-isUbuntu-false-to-avoid-hostname-dependency.patch
|
||||||
|
# Disable signing on macOS
|
||||||
|
./disable-mac-signing.patch
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|
26
pkgs/tools/misc/hdfview/disable-mac-signing.patch
Normal file
26
pkgs/tools/misc/hdfview/disable-mac-signing.patch
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
diff --git a/build.xml b/build.xml
|
||||||
|
index 70ab3e2..9460321 100644
|
||||||
|
--- a/build.xml
|
||||||
|
+++ b/build.xml
|
||||||
|
@@ -1802,13 +1802,6 @@
|
||||||
|
description="Create the final package for distribution" />
|
||||||
|
|
||||||
|
<target name="createJPackageMac" depends="createJPackageBase" if="${isAppMac}">
|
||||||
|
- <!-- unlock keychain -->
|
||||||
|
- <exec executable="security" dir="${dist.dir}" failonerror="true">
|
||||||
|
- <arg value="unlock-keychain" />
|
||||||
|
- <arg value="-p" />
|
||||||
|
- <arg value="${login.keychain_key}" />
|
||||||
|
- <arg value="login.keychain" />
|
||||||
|
- </exec>
|
||||||
|
|
||||||
|
<echo> Create the mac jpackage</echo>
|
||||||
|
<exec executable="${java.home}/bin/jpackage">
|
||||||
|
@@ -1864,7 +1857,6 @@
|
||||||
|
<arg value="app-image" />
|
||||||
|
<arg value="--icon" />
|
||||||
|
<arg value="${basedir}/package_files/macosx/HDFView.icns" />
|
||||||
|
- <arg value="--mac-sign" />
|
||||||
|
<arg value="--mac-package-identifier" />
|
||||||
|
<arg value="HDFView.hdfgroup.org" />
|
||||||
|
<arg value="--mac-package-name" />
|
Loading…
Reference in a new issue