2011-03-28 16:46:10 +01:00
|
|
|
{ stdenv, fetchurl, libX11, cups, gtkLibs, zlib, libxml2 }:
|
2009-05-12 15:49:01 +01:00
|
|
|
|
|
|
|
assert stdenv.system == "i686-linux";
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2011-03-28 16:46:10 +01:00
|
|
|
name = "adobe-reader-9.4.2-1";
|
2009-05-12 15:49:01 +01:00
|
|
|
|
|
|
|
builder = ./builder.sh;
|
|
|
|
|
|
|
|
src = fetchurl {
|
2011-03-28 16:46:10 +01:00
|
|
|
url = http://ardownload.adobe.com/pub/adobe/reader/unix/9.x/9.4.2/enu/AdbeRdr9.4.2-1_i486linux_enu.tar.bz2;
|
|
|
|
sha256 = "0xm8ngr7lslhxli9ly1g2w7ichip88vpf7lfx1ma0liaw4m2gv0h";
|
2009-05-12 15:49:01 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
# !!! Adobe Reader contains copies of OpenSSL, libcurl, and libicu.
|
|
|
|
# We should probably remove those and use the regular Nixpkgs
|
|
|
|
# versions.
|
|
|
|
|
|
|
|
libPath = stdenv.lib.makeLibraryPath
|
2011-03-28 16:46:10 +01:00
|
|
|
[ stdenv.gcc.gcc libX11 zlib libxml2 cups
|
|
|
|
gtkLibs.pango
|
|
|
|
gtkLibs.atk
|
|
|
|
gtkLibs.gtk
|
|
|
|
gtkLibs.glib
|
|
|
|
gtkLibs.gdk_pixbuf
|
|
|
|
];
|
2009-05-12 15:49:01 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Adobe Reader, a viewer for PDF documents";
|
|
|
|
homepage = http://www.adobe.com/products/reader;
|
2011-11-20 20:42:24 +00:00
|
|
|
license = "unfree";
|
2009-05-12 15:49:01 +01:00
|
|
|
};
|
|
|
|
}
|