From 6d01dddd6f58818c6c416bf7c1c42ac9465906f9 Mon Sep 17 00:00:00 2001 From: Ian-Woo Kim Date: Mon, 15 Sep 2014 02:42:03 +0200 Subject: [PATCH] haskell-pdf-toolbox-document added --- .../haskell/pdf-toolbox-document/default.nix | 20 +++++++++++++++++++ pkgs/top-level/haskell-packages.nix | 4 +++- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 pkgs/development/libraries/haskell/pdf-toolbox-document/default.nix diff --git a/pkgs/development/libraries/haskell/pdf-toolbox-document/default.nix b/pkgs/development/libraries/haskell/pdf-toolbox-document/default.nix new file mode 100644 index 00000000000..dc1e96823b3 --- /dev/null +++ b/pkgs/development/libraries/haskell/pdf-toolbox-document/default.nix @@ -0,0 +1,20 @@ +{ cabal, cipherRc4, cryptohash, ioStreams, pdfToolboxContent +, pdfToolboxCore, text, transformers +}: + +cabal.mkDerivation (self: { + pname = "pdf-toolbox-document"; + version = "0.0.3.0"; + sha256 = "0y1kb2hf420jx6r81c431avgar32wzx2xr747akcs4rypf6w53fn"; + buildDepends = [ + cipherRc4 cryptohash ioStreams pdfToolboxContent pdfToolboxCore + text transformers + ]; + meta = { + homepage = "https://github.com/Yuras/pdf-toolbox"; + description = "A collection of tools for processing PDF files"; + license = self.stdenv.lib.licenses.bsd3; + platforms = self.ghc.meta.platforms; + maintainers = with self.stdenv.lib.maintainers; [ ianwookim ]; + }; +}) diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 8ce5abceece..ea010bf48a5 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -1858,9 +1858,11 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in pcreLight = callPackage ../development/libraries/haskell/pcre-light {}; + pdfToolboxContent = callPackage ../development/libraries/haskell/pdf-toolbox-content {}; + pdfToolboxCore = callPackage ../development/libraries/haskell/pdf-toolbox-core {}; - pdfToolboxContent = callPackage ../development/libraries/haskell/pdf-toolbox-content {}; + pdfToolboxDocument = callPackage ../development/libraries/haskell/pdf-toolbox-document {}; pem = callPackage ../development/libraries/haskell/pem {};