2016-08-18 10:46:58 +01:00
|
|
|
{ fetchurl, stdenv }:
|
2007-11-11 16:00:51 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-10-07 22:05:45 +01:00
|
|
|
name = "poppler-data-0.4.7";
|
2007-11-11 16:00:51 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2008-07-18 08:45:48 +01:00
|
|
|
url = "http://poppler.freedesktop.org/${name}.tar.gz";
|
2014-10-07 22:05:45 +01:00
|
|
|
sha256 = "1pm7wg6xqj4sppb5az4pa7psfdk4yxxkw52j85bm9fksibcb0lp7";
|
2007-11-11 16:00:51 +00:00
|
|
|
};
|
|
|
|
|
2016-08-18 10:46:58 +01:00
|
|
|
postPatch = ''
|
|
|
|
sed -i 's,$(datadir)/pkgconfig,$(prefix)/lib/pkgconfig,g' Makefile
|
|
|
|
'';
|
2010-10-02 06:24:33 +01:00
|
|
|
|
2016-08-18 10:46:58 +01:00
|
|
|
installFlags = [ "prefix=$(out)" ];
|
2008-07-18 08:45:48 +01:00
|
|
|
|
2016-08-18 10:46:58 +01:00
|
|
|
meta = with stdenv.lib; {
|
2008-07-18 08:45:48 +01:00
|
|
|
homepage = http://poppler.freedesktop.org/;
|
|
|
|
description = "Encoding files for Poppler, a PDF rendering library";
|
2016-08-18 10:46:58 +01:00
|
|
|
platforms = platforms.all;
|
|
|
|
license = licenses.free; # more free licenses combined
|
2017-03-27 18:11:17 +01:00
|
|
|
maintainers = with maintainers; [ ];
|
2008-07-18 08:45:48 +01:00
|
|
|
};
|
2007-11-11 16:00:51 +00:00
|
|
|
}
|