nixpkgs/pkgs/data/misc/poppler-data/default.nix
Vladimír Čunát f5ce8f86df
Revert "Merge staging at '8d490ca9934d0' into master"
This reverts commit fc23242220, reversing
changes made to 754816b84b.
We don't have many binaries yet.  Comment on the original merge commit.
2018-02-26 22:53:18 +01:00

25 lines
656 B
Nix

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