nixpkgs/pkgs/data/misc/poppler-data/default.nix

25 lines
656 B
Nix
Raw Normal View History

2016-08-18 09:46:58 +00:00
{ fetchurl, stdenv }:
stdenv.mkDerivation rec {
name = "poppler-data-0.4.7";
src = fetchurl {
url = "http://poppler.freedesktop.org/${name}.tar.gz";
sha256 = "1pm7wg6xqj4sppb5az4pa7psfdk4yxxkw52j85bm9fksibcb0lp7";
};
2016-08-18 09:46:58 +00:00
postPatch = ''
sed -i 's,$(datadir)/pkgconfig,$(prefix)/lib/pkgconfig,g' Makefile
'';
2016-08-18 09:46:58 +00:00
installFlags = [ "prefix=$(out)" ];
2016-08-18 09:46:58 +00:00
meta = with stdenv.lib; {
2017-08-17 21:59:26 +00:00
homepage = https://poppler.freedesktop.org/;
description = "Encoding files for Poppler, a PDF rendering library";
2016-08-18 09:46:58 +00:00
platforms = platforms.all;
license = licenses.free; # more free licenses combined
maintainers = with maintainers; [ ];
};
}