storcli: init at 7.2106.00
This commit is contained in:
parent
8290d2f8b8
commit
574611ad4f
35
pkgs/tools/misc/storcli/default.nix
Normal file
35
pkgs/tools/misc/storcli/default.nix
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
{ lib
|
||||||
|
, stdenvNoCC
|
||||||
|
, fetchurl
|
||||||
|
, rpmextract
|
||||||
|
, unzip
|
||||||
|
}:
|
||||||
|
stdenvNoCC.mkDerivation rec {
|
||||||
|
pname = "storcli";
|
||||||
|
version = "7.2106.00";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://docs.broadcom.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/00${version}00.0000_Unified_StorCLI.zip";
|
||||||
|
sha256 = "sha256-sRMpNXCdcysliVQwRE/1yAeU/cp+y0f2F8BPiWyotxQ=";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ rpmextract unzip ];
|
||||||
|
|
||||||
|
buildCommand = ''
|
||||||
|
unzip $src
|
||||||
|
rpmextract Unified_storcli_all_os/Linux/storcli-*.noarch.rpm
|
||||||
|
install -D ./opt/MegaRAID/storcli/storcli64 $out/bin/storcli64
|
||||||
|
ln -s storcli64 $out/bin/storcli
|
||||||
|
|
||||||
|
# Not needed because the binary is statically linked
|
||||||
|
#eval fixupPhase
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Storage Command Line Tool";
|
||||||
|
sourceProvenance = with sourceTypes; [ binaryNativeCode ];
|
||||||
|
license = licenses.unfree;
|
||||||
|
maintainers = with maintainers; [ panicgh ];
|
||||||
|
platforms = with platforms; intersectLists x86_64 linux;
|
||||||
|
};
|
||||||
|
}
|
|
@ -10831,6 +10831,8 @@ with pkgs;
|
||||||
|
|
||||||
stm32loader = with python3Packages; toPythonApplication stm32loader;
|
stm32loader = with python3Packages; toPythonApplication stm32loader;
|
||||||
|
|
||||||
|
storcli = callPackage ../tools/misc/storcli { };
|
||||||
|
|
||||||
stremio = qt5.callPackage ../applications/video/stremio { };
|
stremio = qt5.callPackage ../applications/video/stremio { };
|
||||||
|
|
||||||
sunwait = callPackage ../applications/misc/sunwait { };
|
sunwait = callPackage ../applications/misc/sunwait { };
|
||||||
|
|
Loading…
Reference in a new issue