mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 06:31:02 +00:00
177464ade9
So far we only have 32-bit package. It will be silently missed on 64-bit ATM.
33 lines
973 B
Nix
33 lines
973 B
Nix
{ stdenv, fetchurl, libX11, cups, zlib, libxml2, pango, atk, gtk, glib
|
|
, gdk_pixbuf }:
|
|
|
|
assert stdenv.system == "i686-linux";
|
|
|
|
let version = "9.5.5"; in
|
|
|
|
stdenv.mkDerivation {
|
|
name = "adobe-reader-${version}-1";
|
|
|
|
builder = ./builder.sh;
|
|
|
|
src = fetchurl {
|
|
url = "http://ardownload.adobe.com/pub/adobe/reader/unix/9.x/${version}/enu/AdbeRdr${version}-1_i486linux_enu.tar.bz2";
|
|
sha256 = "0h35misxrqkl5zlmmvray1bqf4ywczkm89n9qw7d9arqbg3aj3pf";
|
|
};
|
|
|
|
# !!! Adobe Reader contains copies of OpenSSL, libcurl, and libicu.
|
|
# We should probably remove those and use the regular Nixpkgs
|
|
# versions.
|
|
|
|
libPath = stdenv.lib.makeLibraryPath
|
|
[ stdenv.cc.cc libX11 zlib libxml2 cups pango atk gtk glib gdk_pixbuf ];
|
|
|
|
passthru.mozillaPlugin = "/libexec/adobe-reader/Browser/intellinux";
|
|
|
|
meta = {
|
|
description = "Adobe Reader, a viewer for PDF documents";
|
|
homepage = http://www.adobe.com/products/reader;
|
|
license = stdenv.lib.licenses.unfree;
|
|
};
|
|
}
|