at 22.05-pre 44 lines 1.2 kB view raw
1{ lib 2, stdenv 3, fetchurl 4, libX11 5, cups 6, zlib 7, libxml2 8, pango 9, atk 10, gtk2 11, glib 12, gdk-pixbuf 13, gdk-pixbuf-xlib 14}: 15 16stdenv.mkDerivation rec { 17 pname = "adobe-reader"; 18 version = "9.5.5"; 19 20 # TODO: convert to phases 21 builder = ./builder.sh; 22 23 src = fetchurl { 24 url = "http://ardownload.adobe.com/pub/adobe/reader/unix/9.x/${version}/enu/AdbeRdr${version}-1_i486linux_enu.tar.bz2"; 25 sha256 = "0h35misxrqkl5zlmmvray1bqf4ywczkm89n9qw7d9arqbg3aj3pf"; 26 }; 27 28 # !!! Adobe Reader contains copies of OpenSSL, libcurl, and libicu. 29 # We should probably remove those and use the regular Nixpkgs versions. 30 libPath = lib.makeLibraryPath [ stdenv.cc.cc libX11 zlib libxml2 cups pango atk gtk2 glib gdk-pixbuf gdk-pixbuf-xlib ]; 31 32 passthru.mozillaPlugin = "/libexec/adobe-reader/Browser/intellinux"; 33 34 meta = { 35 description = "Adobe Reader, a viewer for PDF documents"; 36 homepage = "http://www.adobe.com/products/reader"; 37 license = lib.licenses.unfree; 38 knownVulnerabilities = [ 39 "Numerous unresolved vulnerabilities" 40 "See: https://www.cvedetails.com/product/497/Adobe-Acrobat-Reader.html?vendor_id=53" 41 ]; 42 platforms = [ "i686-linux" ]; 43 }; 44}