From 8cfa1a503482c3f48afea006dfaf03224058dd29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andres=20L=C3=B6h?= Date: Tue, 21 Apr 2009 21:12:56 +0000 Subject: [PATCH] Added readline package for Haskell. svn path=/nixpkgs/trunk/; revision=15228 --- .../libraries/haskell/readline/default.nix | 12 ++++++++++++ pkgs/top-level/haskell-packages.nix | 5 +++++ 2 files changed, 17 insertions(+) create mode 100644 pkgs/development/libraries/haskell/readline/default.nix diff --git a/pkgs/development/libraries/haskell/readline/default.nix b/pkgs/development/libraries/haskell/readline/default.nix new file mode 100644 index 000000000000..fe60a4c51f0d --- /dev/null +++ b/pkgs/development/libraries/haskell/readline/default.nix @@ -0,0 +1,12 @@ +{ cabal, readline } : + +cabal.mkDerivation (self : { + pname = "readline"; + version = "1.0.1.0"; + sha256 = "07f2f039f32bf18838a4875d0f3caa3ed9436dd52b962b2061f0bb8a3316fa1d"; + propagatedBuildInputs = [ readline ]; + meta = { + description = "An interface to the GNU readline library"; + }; +}) + diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index 7f3621d26cc1..449921cfdfbc 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -193,6 +193,11 @@ rec { inherit cabal mtl; }; + readline = import ../development/libraries/haskell/readline { + inherit cabal; + inherit (pkgs) readline; + }; + regexBase = import ../development/libraries/haskell/regex-base { inherit cabal mtl; };