From f05ab93c88ef986855f4599da98d2b2a471faf81 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Wed, 20 Jul 2011 18:20:32 +0000 Subject: [PATCH] haskell-packages.nix: added mtlparse svn path=/nixpkgs/trunk/; revision=27851 --- .../libraries/haskell/mtlparse/default.nix | 12 ++++++++++++ pkgs/top-level/haskell-packages.nix | 2 ++ 2 files changed, 14 insertions(+) create mode 100644 pkgs/development/libraries/haskell/mtlparse/default.nix diff --git a/pkgs/development/libraries/haskell/mtlparse/default.nix b/pkgs/development/libraries/haskell/mtlparse/default.nix new file mode 100644 index 000000000000..51b620368855 --- /dev/null +++ b/pkgs/development/libraries/haskell/mtlparse/default.nix @@ -0,0 +1,12 @@ +{cabal, mtl}: + +cabal.mkDerivation (self : { + pname = "mtlparse"; + version = "0.1.2"; + sha256 = "cd85d985e4eff842b1c053a2ff507094a20995c5757acc06ea34ff07d9edd142"; + propagatedBuildInputs = [mtl]; + meta = { + description = "parse library based on the mtl package"; + }; +}) + diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index aeab3b9931dc..7377c86aa74a 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -716,6 +716,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y); mtl2 = self.mtl_2_0_1_0; mtl = self.mtl1; + mtlparse = callPackage ../development/libraries/haskell/mtlparse {}; + multiplate = callPackage ../development/libraries/haskell/multiplate {}; multirec = callPackage ../development/libraries/haskell/multirec {};