1 { lib, stdenv, fetchzip }:
3 stdenv.mkDerivation rec {
6 buildVersion = "220906";
9 url = "https://www.supermicro.com/wftp/utility/IPMICFG/IPMICFG_${version}_build.${buildVersion}.zip";
10 sha256 = "ZumCXuR7M2Ep7maBOBFk0UsxyRo4fBkf+9AVmkz4AF0=";
14 mkdir -p "$out/bin" "$out/opt/ipmicfg"
15 cp Linux/64bit/* "$out/opt/ipmicfg"
18 --set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
19 --set-rpath "${lib.makeLibraryPath [ stdenv.cc.cc ]}" \
20 "$out/opt/ipmicfg/IPMICFG-Linux.x86_64"
22 ln -s "$out/opt/ipmicfg/IPMICFG-Linux.x86_64" "$out/bin/ipmicfg"
25 dontPatchShebangs = true; # There are no scripts and it complains about null bytes.
28 description = "Supermicro IPMI configuration tool";
29 homepage = "http://www.supermicro.com/products/nfo/ipmi.cfm";
30 sourceProvenance = with sourceTypes; [ binaryNativeCode ];
31 license = licenses.unfree;
32 platforms = [ "x86_64-linux" ];
33 maintainers = with maintainers; [ sorki ];