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