mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 08:31:59 +00:00
27 lines
907 B
Nix
27 lines
907 B
Nix
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
|
|
|
|
{ cabal, cairo, gdk_pixbuf, glib, gtk, gtk2hsBuildtools, libc, mtl
|
|
, pango, popplerGlib
|
|
}:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "poppler";
|
|
version = "0.13";
|
|
sha256 = "1fv0h2ixanzv5vy4l2ln23f9n8ghmgdxzlyx54hh69bwhrcg049s";
|
|
buildDepends = [ cairo glib gtk mtl ];
|
|
buildTools = [ gtk2hsBuildtools ];
|
|
extraLibraries = [ libc ];
|
|
pkgconfigDepends = [ cairo gdk_pixbuf glib gtk pango popplerGlib ];
|
|
patchPhase = ''
|
|
sed -i -e 's,glib/poppler.h,poppler.h,' poppler.cabal
|
|
sed -i -e 's,glib/poppler.h,poppler.h,' Graphics/UI/Gtk/Poppler/Structs.hsc
|
|
'';
|
|
meta = {
|
|
homepage = "http://www.haskell.org/gtk2hs/";
|
|
description = "Binding to the Poppler";
|
|
license = self.stdenv.lib.licenses.gpl2;
|
|
platforms = self.ghc.meta.platforms;
|
|
maintainers = with self.stdenv.lib.maintainers; [ ianwookim ];
|
|
};
|
|
})
|