cups-kyocera: fix downloading of source

the site blocked use of curl
fixes #14167
This commit is contained in:
Jörg Thalheim 2016-10-01 23:39:57 +02:00
parent 226f62317c
commit 4059854351
No known key found for this signature in database
GPG Key ID: CA4106B8D7CC79FA

View File

@ -17,6 +17,8 @@ stdenv.mkDerivation rec {
dontStrip = true; dontStrip = true;
src = fetchzip { src = fetchzip {
# this side does not like curl -> override useragent
curlOpts = "-A ''";
url = "http://cdn.kyostatics.net/dlc/ru/driver/all/linuxdrv_1_1203_fs-1x2xmfp.-downloadcenteritem-Single-File.downloadcenteritem.tmp/LinuxDrv_1.1203_FS-1x2xMFP.zip"; url = "http://cdn.kyostatics.net/dlc/ru/driver/all/linuxdrv_1_1203_fs-1x2xmfp.-downloadcenteritem-Single-File.downloadcenteritem.tmp/LinuxDrv_1.1203_FS-1x2xMFP.zip";
sha256 = "0z1pbgidkibv4j21z0ys8cq1lafc6687syqa07qij2qd8zp15wiz"; sha256 = "0z1pbgidkibv4j21z0ys8cq1lafc6687syqa07qij2qd8zp15wiz";
}; };