nixpkgs/pkgs/development/libraries/haskell/readline/default.nix
Andres Löh 0c5786e22d Added Shellac Haskell package.
svn path=/nixpkgs/trunk/; revision=15775
2009-05-28 19:06:33 +00:00

18 lines
565 B
Nix

{ cabal, readline, ncurses } :
cabal.mkDerivation (self : {
pname = "readline";
version = "1.0.1.0";
sha256 = "07f2f039f32bf18838a4875d0f3caa3ed9436dd52b962b2061f0bb8a3316fa1d";
propagatedBuildInputs = [ readline ncurses ];
# experimentally link with ncursesw because ghci can't interpret ld scripts,
# and ncurses sometimes seems to be a script pointing to ncursesw
postConfigure = ''
sed -i -e "/^extra-libraries/ s/ncurses/ncursesw/" readline.buildinfo
'';
meta = {
description = "An interface to the GNU readline library";
};
})