haskell-poppler package is added.

This commit is contained in:
Ian-Woo Kim 2014-01-05 15:52:12 +01:00 committed by Peter Simons
parent ef7bd2ed86
commit 398ae63aa6
3 changed files with 25 additions and 0 deletions

View File

@ -27,6 +27,7 @@
garbas = "Rok Garbas <rok@garbas.si>";
goibhniu = "Cillian de Róiste <cillian.deroiste@gmail.com>";
guibert = "David Guibert <david.guibert@gmail.com>";
ianwookim = "Ian-Woo Kim <ianwookim@gmail.com>";
iElectric = "Domen Kozar <domen@dev.si>";
iyzsong = "Song Wenwu <iyzsong@gmail.com>";
jcumming = "Jack Cummings <jack@mudshark.org>";

View File

@ -0,0 +1,19 @@
{ cabal, cairo, glib, gtk, gtk2hsBuildtools, libc, mtl, popplerGlib, pkgconfig }:
cabal.mkDerivation (self: {
pname = "poppler";
version = "0.12.2.2";
sha256 = "1ln5akiarv1ng5gjrzf8bnkm556xzl50m209qvi5nk98g7fyhqs7";
buildDepends = [ cairo glib gtk mtl ];
buildTools = [ gtk2hsBuildtools ];
extraLibraries = [ libc pkgconfig ];
pkgconfigDepends = [ glib gtk popplerGlib ];
#jailbreak = true;
meta = {
homepage = "http://www.haskell.org/gtk2hs";
description = "Binding to the Poppler";
license = self.stdenv.lib.licenses.gpl2;
platforms = self.ghc.meta.platforms;
maintainers = [ self.stdenv.lib.maintainers.ianwookim ];
};
})

View File

@ -1799,6 +1799,11 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x
pop3client = callPackage ../development/libraries/haskell/pop3-client {};
poppler = callPackage ../development/libraries/haskell/poppler {
popplerGlib = pkgs.poppler.poppler_glib;
libc = pkgs.stdenv.gcc.libc;
};
postgresqlLibpq = callPackage ../development/libraries/haskell/postgresql-libpq {
inherit (pkgs) postgresql;
};