2016-09-11 23:24:51 +02:00
|
|
|
{ stdenv, fetchurl, libX11, cups, zlib, libxml2, pango, atk, gtk2, glib
|
2019-05-22 13:03:39 +02:00
|
|
|
, gdk-pixbuf }:
|
2009-05-12 16:49:01 +02:00
|
|
|
|
2018-08-20 21:11:29 +02:00
|
|
|
assert stdenv.hostPlatform.system == "i686-linux";
|
2009-05-12 16:49:01 +02:00
|
|
|
|
2013-11-04 18:42:28 +01:00
|
|
|
let version = "9.5.5"; in
|
2012-11-08 14:28:20 +01:00
|
|
|
|
2009-05-12 16:49:01 +02:00
|
|
|
stdenv.mkDerivation {
|
2012-11-08 14:28:20 +01:00
|
|
|
name = "adobe-reader-${version}-1";
|
|
|
|
|
2009-05-12 16:49:01 +02:00
|
|
|
builder = ./builder.sh;
|
2012-11-08 14:28:20 +01:00
|
|
|
|
2009-05-12 16:49:01 +02:00
|
|
|
src = fetchurl {
|
2012-11-08 14:28:20 +01:00
|
|
|
url = "http://ardownload.adobe.com/pub/adobe/reader/unix/9.x/${version}/enu/AdbeRdr${version}-1_i486linux_enu.tar.bz2";
|
2013-11-04 18:42:28 +01:00
|
|
|
sha256 = "0h35misxrqkl5zlmmvray1bqf4ywczkm89n9qw7d9arqbg3aj3pf";
|
2009-05-12 16:49:01 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
# !!! Adobe Reader contains copies of OpenSSL, libcurl, and libicu.
|
|
|
|
# We should probably remove those and use the regular Nixpkgs
|
|
|
|
# versions.
|
2012-11-08 14:28:20 +01:00
|
|
|
|
2009-05-12 16:49:01 +02:00
|
|
|
libPath = stdenv.lib.makeLibraryPath
|
2019-05-22 13:03:39 +02:00
|
|
|
[ stdenv.cc.cc libX11 zlib libxml2 cups pango atk gtk2 glib gdk-pixbuf ];
|
2012-11-08 14:28:20 +01:00
|
|
|
|
2016-02-09 18:19:56 +01:00
|
|
|
passthru.mozillaPlugin = "/libexec/adobe-reader/Browser/intellinux";
|
|
|
|
|
2009-05-12 16:49:01 +02:00
|
|
|
meta = {
|
|
|
|
description = "Adobe Reader, a viewer for PDF documents";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://www.adobe.com/products/reader";
|
2014-06-19 06:19:00 +02:00
|
|
|
license = stdenv.lib.licenses.unfree;
|
2009-05-12 16:49:01 +02:00
|
|
|
};
|
|
|
|
}
|