diff --git a/pkgs/tools/misc/perccli/default.nix b/pkgs/tools/misc/perccli/default.nix index aca382d50462..eacc0c26de33 100644 --- a/pkgs/tools/misc/perccli/default.nix +++ b/pkgs/tools/misc/perccli/default.nix @@ -6,16 +6,18 @@ stdenvNoCC.mkDerivation rec { pname = "perccli"; - version = "7.2110.00"; + + # On a new release, update version, URL, hash, and meta.homepage + version = "7.2313.00"; src = fetchzip { # On pkg update: manually adjust the version in the URL because of the different format. - url = "https://dl.dell.com/FOLDER09074160M/1/PERCCLI_7.211.0_Linux.tar.gz"; - sha256 = "sha256-8gk+0CrgeisfN2hNpaO1oFey57y7KuNy2i6PWTikDls="; + url = "https://dl.dell.com/FOLDER09770976M/1/PERCCLI_7.2313.0_A14_Linux.tar.gz"; + hash = "sha256-IhclHVkdihRx5CzyO2dlOEhCon+0/HB3Fkue7MWsWnw="; # Dell seems to block "uncommon" user-agents, such as Nixpkgs's custom one. - # Sending no user-agent at all seems to be fine though. - curlOptsList = [ "--user-agent" "" ]; + # 403 otherwise + curlOptsList = [ "--user-agent" "Mozilla/5.0" ]; }; nativeBuildInputs = [ rpmextract ]; @@ -43,6 +45,10 @@ stdenvNoCC.mkDerivation rec { meta = with lib; { description = "Perccli Support for PERC RAID controllers"; + + # Must be updated with every release + homepage = "https://www.dell.com/support/home/en-us/drivers/driversdetails?driverid=tdghn"; + sourceProvenance = with sourceTypes; [ binaryNativeCode ]; license = licenses.unfree; maintainers = with maintainers; [ panicgh ];