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