From 51dc75b7692ce41527685507ea7f6f5dc2cb6ec5 Mon Sep 17 00:00:00 2001 From: Luca Bruno Date: Mon, 7 Jul 2014 15:20:29 +0200 Subject: [PATCH] pretty: new haskell package --- .../libraries/haskell/pretty/default.nix | 15 +++++++++++++++ pkgs/top-level/haskell-packages.nix | 2 ++ 2 files changed, 17 insertions(+) create mode 100644 pkgs/development/libraries/haskell/pretty/default.nix diff --git a/pkgs/development/libraries/haskell/pretty/default.nix b/pkgs/development/libraries/haskell/pretty/default.nix new file mode 100644 index 000000000000..93945edf264f --- /dev/null +++ b/pkgs/development/libraries/haskell/pretty/default.nix @@ -0,0 +1,15 @@ +{ cabal }: + +cabal.mkDerivation (self: { + pname = "pretty"; + version = "1.1.1.1"; + sha256 = "1rjpqa4grhamzn5s9xg4w16cz2dpkn7ii9bpqy8lg4fiwppvg2kb"; + + doCheck = false; + + meta = { + description = "Pretty printing library especially useful for compilers and related tools"; + 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 0b512a7c0861..4bf17c45de5a 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -1792,6 +1792,8 @@ self : let callPackage = x : y : modifyPrio (newScope self x y); in presburger = callPackage ../development/libraries/haskell/presburger {}; + pretty = callPackage ../development/libraries/haskell/pretty {}; + prettyclass = callPackage ../development/libraries/haskell/prettyclass {}; prettyShow = callPackage ../development/libraries/haskell/pretty-show {};