3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/misc/adobe-reader/default.nix

51 lines
1.2 KiB
Nix
Raw Normal View History

{ lib
, stdenv
, fetchurl
, libX11
, cups
, zlib
, libxml2
, pango
, atk
, gtk2
, glib
, gdk-pixbuf
, gdk-pixbuf-xlib
}:
assert stdenv.hostPlatform.system == "i686-linux";
let
baseVersion = "9.5.5";
in
stdenv.mkDerivation rec {
pname = "adobe-reader";
version = "${baseVersion}-1";
2012-11-08 13:28:20 +00:00
builder = ./builder.sh;
2012-11-08 13:28:20 +00:00
src = fetchurl {
url = "http://ardownload.adobe.com/pub/adobe/reader/unix/9.x/${baseVersion}/enu/AdbeRdr${version}_i486linux_enu.tar.bz2";
2013-11-04 17:42:28 +00: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 13:28:20 +00:00
2021-01-15 05:42:41 +00:00
libPath = lib.makeLibraryPath
[ stdenv.cc.cc libX11 zlib libxml2 cups pango atk gtk2 glib gdk-pixbuf gdk-pixbuf-xlib ];
2012-11-08 13:28:20 +00:00
passthru.mozillaPlugin = "/libexec/adobe-reader/Browser/intellinux";
meta = {
description = "Adobe Reader, a viewer for PDF documents";
homepage = "http://www.adobe.com/products/reader";
2021-01-15 05:42:41 +00:00
license = lib.licenses.unfree;
knownVulnerabilities = [
"Numerous unresolved vulnerabilities"
"See: https://www.cvedetails.com/product/497/Adobe-Acrobat-Reader.html?vendor_id=53"
];
};
}