From 9d2ff1e08476a64ec783eeb71ed2ccfe396a9b75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andres=20L=C3=B6h?= Date: Tue, 11 Jan 2011 10:43:13 +0000 Subject: [PATCH] Added pretty-show Haskell library. svn path=/nixpkgs/trunk/; revision=25504 --- .../libraries/haskell/pretty-show/default.nix | 14 ++++++++++++++ pkgs/top-level/haskell-packages.nix | 4 +++- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 pkgs/development/libraries/haskell/pretty-show/default.nix diff --git a/pkgs/development/libraries/haskell/pretty-show/default.nix b/pkgs/development/libraries/haskell/pretty-show/default.nix new file mode 100644 index 000000000000..7056fed1df48 --- /dev/null +++ b/pkgs/development/libraries/haskell/pretty-show/default.nix @@ -0,0 +1,14 @@ +{cabal, haskellLexer}: + +cabal.mkDerivation (self : { + pname = "pretty-show"; + version = "1.1.1"; + sha256 = "0w6r68l1452vh9aqnlh4066y62h8ylh45gbsl5l558wjgchlna5k"; + propagatedBuildInputs = [haskellLexer]; + meta = { + description = "Tools for working with derived Show instances"; + license = "BSD"; + maintainers = [self.stdenv.lib.maintainers.andres]; + }; +}) + diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index d514dc617dda..c6ee56df5360 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -515,12 +515,14 @@ rec { ppm = callPackage ../development/libraries/haskell/ppm {}; - pureMD5 = callPackage ../development/libraries/haskell/pureMD5 {}; + prettyShow = callPackage ../development/libraries/haskell/pretty-show {}; primitive = callPackage ../development/libraries/haskell/primitive {}; processLeksah = callPackage ../development/libraries/haskell/leksah/process-leksah.nix {}; + pureMD5 = callPackage ../development/libraries/haskell/pureMD5 {}; + QuickCheck = QuickCheck_1; QuickCheck_1 = callPackage ../development/libraries/haskell/QuickCheck {};