IPMIView: 2.18.0 -> 2.19.0

Bump the sha, and strip the 'amd64' directory since the new tarball
doesn't seem to have that level of structure.

+14 -6
+14 -6
pkgs/applications/misc/ipmiview/default.nix
··· 13 13 14 14 stdenv.mkDerivation rec { 15 15 pname = "IPMIView"; 16 - version = "2.18.0"; 17 - buildVersion = "201007"; 16 + version = "2.19.0"; 17 + buildVersion = "210401"; 18 18 19 19 src = fetchurl { 20 20 url = "https://www.supermicro.com/wftp/utility/IPMIView/Linux/IPMIView_${version}_build.${buildVersion}_bundleJRE_Linux_x64.tar.gz"; 21 - sha256 = "10cv63yhh81gjxahsg4y3zp4mjivc217m4z1vcpwvvnds46c65h8"; 21 + sha256 = "sha256-6hxOu/Wkcrp9MaMYlxOR2DZW21Wi3BIFZp3Vm8NRBWs="; 22 22 }; 23 23 24 24 nativeBuildInputs = [ patchelf makeWrapper ]; ··· 29 29 else throw "IPMIView is not supported on this platform"; 30 30 in 31 31 '' 32 - patchelf --set-rpath "${lib.makeLibraryPath [ libX11 libXext libXrender libXtst libXi ]}" ./jre/lib/amd64/libawt_xawt.so 33 - patchelf --set-rpath "${lib.makeLibraryPath [ freetype ]}" ./jre/lib/amd64/libfontmanager.so 34 - patchelf --set-rpath "${gcc.cc}/lib:$out/jre/lib/amd64/jli" --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" ./jre/bin/java 32 + runHook preBuild 33 + 34 + patchelf --set-rpath "${lib.makeLibraryPath [ libX11 libXext libXrender libXtst libXi ]}" ./jre/lib/libawt_xawt.so 35 + patchelf --set-rpath "${lib.makeLibraryPath [ freetype ]}" ./jre/lib/libfontmanager.so 36 + patchelf --set-rpath "${gcc.cc}/lib:$out/jre/lib/jli" --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" ./jre/bin/java 35 37 patchelf --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" ./BMCSecurity/${stunnelBinary} 38 + 39 + runHook postBuild 36 40 ''; 37 41 38 42 desktopItem = makeDesktopItem rec { ··· 44 48 }; 45 49 46 50 installPhase = '' 51 + runHook preInstall 52 + 47 53 mkdir -p $out/bin 48 54 cp -R . $out/ 49 55 ··· 61 67 mkdir -p $WORK_DIR 62 68 ln -snf '$out'/iKVM.jar '$out'/iKVM_ssl.jar '$out'/libiKVM* '$out'/libSharedLibrary* $WORK_DIR 63 69 cd $WORK_DIR' 70 + 71 + runHook postInstall 64 72 ''; 65 73 66 74 meta = with lib; {