diff options
author | Aleksana <me@aleksana.moe> | 2024-04-18 01:48:26 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-18 01:48:26 +0800 |
commit | d3bf7abb557ea89bf9a5ba3c700fc020ee4f73f7 (patch) | |
tree | 9947934e9c4a724991c3d907d6e37795799520fb /pkgs/tools/misc | |
parent | 5784e9decf4105efb4d2a72150c441b356848b5b (diff) | |
parent | a0d914263c75f3d614a3e472bc13da3829aceca5 (diff) |
Merge pull request #303694 from panicgh/storcli
storcli: 7.2309.00 -> 7.2904.00, move to by-name
Diffstat (limited to 'pkgs/tools/misc')
-rw-r--r-- | pkgs/tools/misc/storcli/default.nix | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/pkgs/tools/misc/storcli/default.nix b/pkgs/tools/misc/storcli/default.nix deleted file mode 100644 index e5f01b6926c26..0000000000000 --- a/pkgs/tools/misc/storcli/default.nix +++ /dev/null @@ -1,52 +0,0 @@ -{ lib -, stdenvNoCC -, fetchzip -, rpmextract -}: - -stdenvNoCC.mkDerivation rec { - pname = "storcli"; - version = "7.2309.00"; - - src = fetchzip { - url = "https://docs.broadcom.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/Unified_storcli_all_os_${version}00.0000.zip"; - sha256 = "sha256-n2MzT2LHLHWMWhshWXJ/Q28w9EnLrW6t7hLNveltxLo="; - }; - - nativeBuildInputs = [ rpmextract ]; - - unpackPhase = let - inherit (stdenvNoCC.hostPlatform) system; - platforms = { - x86_64-linux = "Linux"; - aarch64-linux = "ARM/Linux"; - }; - platform = platforms.${system} or (throw "unsupported system: ${system}"); - in '' - rpmextract $src/${platform}/storcli-00${version}00.0000-1.*.rpm - ''; - - dontPatch = true; - dontConfigure = true; - dontBuild = true; - - installPhase = '' - install -D ./opt/MegaRAID/storcli/storcli64 $out/bin/storcli64 - ln -s storcli64 $out/bin/storcli - ''; - - # Not needed because the binary is statically linked - dontFixup = true; - - meta = with lib; { - # Unfortunately there is no better page for this. - # Filter for downloads, set 100 items per page. Sort by newest does not work. - # Then search manually for the latest version. - homepage = "https://www.broadcom.com/site-search?q=storcli"; - description = "Storage Command Line Tool"; - sourceProvenance = with sourceTypes; [ binaryNativeCode ]; - license = licenses.unfree; - maintainers = with maintainers; [ panicgh ]; - platforms = [ "x86_64-linux" "aarch64-linux" ]; - }; -} |