1 { runCommand, fetchurl, rpm, cpio }: let
5 url = "http://downloads.dell.com/printer/Dell-5130cdn-Color-Laser-${version}.noarch.rpm";
6 sha256 = "0pj32sj6jcdnpa5v75af0hnvx4z0ky0m1k2522cfdx4cb1r2lna9";
8 in runCommand "Dell-5130cdn-Color-Laser-1.3-1" {} ''
9 mkdir -p usr/share/cups/model
10 ${rpm}/bin/rpm2cpio ${src} | ${cpio}/bin/cpio -i
11 mkdir -p $out/share/ppd
12 mv usr/share/cups/model/Dell $out/share/ppd