at 15.09-beta 30 lines 901 B view raw
1{ stdenv, fetchurl, libX11, cups, zlib, libxml2, pango, atk, gtk, glib 2, gdk_pixbuf }: 3 4assert stdenv.system == "i686-linux"; 5 6let version = "9.5.5"; in 7 8stdenv.mkDerivation { 9 name = "adobe-reader-${version}-1"; 10 11 builder = ./builder.sh; 12 13 src = fetchurl { 14 url = "http://ardownload.adobe.com/pub/adobe/reader/unix/9.x/${version}/enu/AdbeRdr${version}-1_i486linux_enu.tar.bz2"; 15 sha256 = "0h35misxrqkl5zlmmvray1bqf4ywczkm89n9qw7d9arqbg3aj3pf"; 16 }; 17 18 # !!! Adobe Reader contains copies of OpenSSL, libcurl, and libicu. 19 # We should probably remove those and use the regular Nixpkgs 20 # versions. 21 22 libPath = stdenv.lib.makeLibraryPath 23 [ stdenv.cc.cc libX11 zlib libxml2 cups pango atk gtk glib gdk_pixbuf ]; 24 25 meta = { 26 description = "Adobe Reader, a viewer for PDF documents"; 27 homepage = http://www.adobe.com/products/reader; 28 license = stdenv.lib.licenses.unfree; 29 }; 30}