diff --git a/lib/maintainers.nix b/lib/maintainers.nix index 9f8406259780..f81bebd9f89a 100644 --- a/lib/maintainers.nix +++ b/lib/maintainers.nix @@ -27,6 +27,7 @@ garbas = "Rok Garbas "; goibhniu = "Cillian de RĂ³iste "; guibert = "David Guibert "; + ianwookim = "Ian-Woo Kim "; iElectric = "Domen Kozar "; iyzsong = "Song Wenwu "; jcumming = "Jack Cummings "; diff --git a/pkgs/development/libraries/haskell/poppler/default.nix b/pkgs/development/libraries/haskell/poppler/default.nix new file mode 100644 index 000000000000..5240eb3a0fc9 --- /dev/null +++ b/pkgs/development/libraries/haskell/poppler/default.nix @@ -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 ]; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index ea2f73234952..b045e63e6ba4 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -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; };