nixpkgs/pkgs/applications/misc/adobe-reader/default.nix

31 lines
885 B
Nix
Raw Normal View History

{ stdenv, fetchurl, libX11, cups, zlib, libxml2, pango, atk, gtk, glib
, gdk_pixbuf }:
assert stdenv.system == "i686-linux";
2013-11-04 18:42:28 +01:00
let version = "9.5.5"; in
2012-11-08 14:28:20 +01:00
stdenv.mkDerivation {
2012-11-08 14:28:20 +01:00
name = "adobe-reader-${version}-1";
builder = ./builder.sh;
2012-11-08 14:28:20 +01: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";
};
# !!! 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
libPath = stdenv.lib.makeLibraryPath
[ stdenv.gcc.gcc libX11 zlib libxml2 cups pango atk gtk glib gdk_pixbuf ];
2012-11-08 14:28:20 +01:00
meta = {
description = "Adobe Reader, a viewer for PDF documents";
homepage = http://www.adobe.com/products/reader;
license = "unfree";
};
}