mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
perccli: 7.2110.00 -> 7.2313.00
https://www.dell.com/support/home/en-us/drivers/driversdetails?driverid=tdghn
This commit is contained in:
parent
7f45760504
commit
4c658ae8ea
@ -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 ];
|
||||
|
Loading…
Reference in New Issue
Block a user