cups-kyocera-3500-4500: reorder source URLs

List the URL that is least likely to silently change its target first,
to avoid future builds breaking because the vendor released a new
package using the same URL.
This commit is contained in:
Adam Dinwoodie 2024-11-25 11:17:45 +00:00 committed by Bjørn Forsman
parent 96be30f0b0
commit 609330138e

View File

@ -27,9 +27,13 @@ stdenv.mkDerivation rec {
# 1. Go to https://www.kyoceradocumentsolutions.us/en/support/downloads.html
# 2. Search for printer model, e.g. "TASKalfa 6053ci"
# 3. Locate e.g. "Linux Print Driver (9.3)" in the list
#
# Where there's no version encoded in the vendor URL, prefer a
# web.archive.org URL. That means that if the vendor updates the package
# at this URL, the package won't suddenly stop building.
urls = [
"https://www.kyoceradocumentsolutions.us/content/download-center-americas/us/drivers/drivers/MA_PA_4500ci_Linux_gz.download.gz"
"https://web.archive.org/web/20241123173620/https://www.kyoceradocumentsolutions.us/content/download-center-americas/us/drivers/drivers/MA_PA_4500ci_Linux_gz.download.gz"
"https://www.kyoceradocumentsolutions.us/content/download-center-americas/us/drivers/drivers/MA_PA_4500ci_Linux_gz.download.gz"
];
hash = "sha256-pqBtfKiQo/+cF8fG5vsEQvr8UdxjGsSShXI+6bun03c=";
recursiveHash = true;