summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2014-01-30 09:54:54 -0500
committerShea Levy <shea@shealevy.com>2014-01-30 09:54:54 -0500
commitcdd86c7875c7e31b69d1a859c0f8c6a9deb3266f (patch)
treef4cc8bd49bb6e166d271d83b5cca561d2594b79b /pkgs
parent82359bba65814a858c60aff5cdffdae3e76ff5c3 (diff)
downloadnixpkgs-cdd86c7875c7e31b69d1a859c0f8c6a9deb3266f.tar
nixpkgs-cdd86c7875c7e31b69d1a859c0f8c6a9deb3266f.tar.gz
nixpkgs-cdd86c7875c7e31b69d1a859c0f8c6a9deb3266f.tar.bz2
nixpkgs-cdd86c7875c7e31b69d1a859c0f8c6a9deb3266f.tar.lz
nixpkgs-cdd86c7875c7e31b69d1a859c0f8c6a9deb3266f.tar.xz
nixpkgs-cdd86c7875c7e31b69d1a859c0f8c6a9deb3266f.tar.zst
nixpkgs-cdd86c7875c7e31b69d1a859c0f8c6a9deb3266f.zip
Add annotated-wl-pprint haskellPackage
Signed-off-by: Shea Levy <shea@shealevy.com>
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/libraries/haskell/annotated-wl-pprint/default.nix13
-rw-r--r--pkgs/top-level/haskell-packages.nix2
2 files changed, 15 insertions, 0 deletions
diff --git a/pkgs/development/libraries/haskell/annotated-wl-pprint/default.nix b/pkgs/development/libraries/haskell/annotated-wl-pprint/default.nix
new file mode 100644
index 00000000000..f084fda35c5
--- /dev/null
+++ b/pkgs/development/libraries/haskell/annotated-wl-pprint/default.nix
@@ -0,0 +1,13 @@
+{ cabal }:
+
+cabal.mkDerivation (self: {
+  pname = "annotated-wl-pprint";
+  version = "0.5.3";
+  sha256 = "0g8b4hmgh7jhiknfrlaqr9sxr7a6sikkpaws15dy8mg4r792bbis";
+  meta = {
+    homepage = "https://github.com/david-christiansen/annotated-wl-pprint";
+    description = "The Wadler/Leijen Pretty Printer, with annotation support";
+    license = self.stdenv.lib.licenses.bsd3;
+    platforms = self.ghc.meta.platforms;
+  };
+})
diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix
index 26c7ec2aa30..ae55febf893 100644
--- a/pkgs/top-level/haskell-packages.nix
+++ b/pkgs/top-level/haskell-packages.nix
@@ -542,6 +542,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x
 
   amqp = callPackage ../development/libraries/haskell/amqp {};
 
+  annotatedWlPprint = callPackage ../development/libraries/haskell/annotated-wl-pprint {};
+
   appar = callPackage ../development/libraries/haskell/appar {};
 
   ansiTerminal = callPackage ../development/libraries/haskell/ansi-terminal {};