From d2067c300fcc0bd147e17785ca51110b0282466d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andres=20L=C3=B6h?= Date: Tue, 21 Apr 2009 21:19:49 +0000 Subject: [PATCH] Updated editline for Haskell. svn path=/nixpkgs/trunk/; revision=15229 --- .../libraries/haskell/editline/default.nix | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/pkgs/development/libraries/haskell/editline/default.nix b/pkgs/development/libraries/haskell/editline/default.nix index daf223b23fb..fb06cd52a80 100644 --- a/pkgs/development/libraries/haskell/editline/default.nix +++ b/pkgs/development/libraries/haskell/editline/default.nix @@ -2,20 +2,11 @@ cabal.mkDerivation (self : { pname = "editline"; - version = "0.2"; - sha256 = "6ee0b553cc8d7542c096730ceebabdcb9b2951d7b00a5a0ddbf47b5436a77ce4"; - buildInputs = [ libedit ]; - patchLibFiles = [ "editline.buildinfo.in" ]; - preConfigure = '' - sed -i -e '/el_get/d' include/HsEditline.h - ''; - # I don't quite understand why ncurses as an extra-library is harmful, but - # it works only if we remove it ... - postConfigure = '' - sed -i -e 's/ncurses//' editline.buildinfo - ''; + version = "0.2.1.0"; + sha256 = "83618e5f86074fdc11d7f5033aa2886284462941be38fa02966acc92712c46e1"; + propagatedBuildInputs = [ libedit ]; meta = { - description = "Binding to the BSD editline library"; + description = "Binding to the BSD editline library (libedit)"; }; })