Merge pull request #68006 from volth/patch-361
megacli: requireFile -> fetchurl
This commit is contained in:
commit
089011e4f9
@ -1,15 +1,13 @@
|
|||||||
{ stdenv, rpmextract, ncurses5, patchelf, requireFile, unzip }:
|
{ stdenv, rpmextract, ncurses5, patchelf, fetchurl, unzip }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "megacli";
|
pname = "megacli";
|
||||||
version = "8.07.14";
|
version = "8.07.14";
|
||||||
|
|
||||||
src =
|
src = fetchurl {
|
||||||
requireFile {
|
url = "https://docs.broadcom.com/docs-and-downloads/raid-controllers/raid-controllers-common-files/${builtins.replaceStrings ["."] ["-"] version}_MegaCLI.zip";
|
||||||
name = "${builtins.replaceStrings ["."] ["-"] version}_MegaCLI.zip";
|
sha256 = "1sdn58fbmd3fj4nzbajq3gcyw71ilgdh45r5p4sa6xmb7np55cfr";
|
||||||
url = https://docs.broadcom.com/docs/12351587;
|
};
|
||||||
sha256 = "1sdn58fbmd3fj4nzbajq3gcyw71ilgdh45r5p4sa6xmb7np55cfr";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs = [rpmextract ncurses5 unzip];
|
buildInputs = [rpmextract ncurses5 unzip];
|
||||||
libPath =
|
libPath =
|
||||||
|
Loading…
Reference in New Issue
Block a user