2014-07-14 15:23:04 +00:00
|
|
|
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
|
|
|
|
|
2013-02-18 10:11:16 +00:00
|
|
|
{ cabal, readline, ncurses }:
|
2009-04-21 21:12:56 +00:00
|
|
|
|
2013-02-18 10:11:16 +00:00
|
|
|
cabal.mkDerivation (self: {
|
2009-04-21 21:12:56 +00:00
|
|
|
pname = "readline";
|
2013-02-18 10:11:16 +00:00
|
|
|
version = "1.0.3.0";
|
|
|
|
sha256 = "1sszlx34qa88fad3wlhd4rkb1my1nrpzvyd8vq7dn806j5sf3ff0";
|
2009-05-28 19:06:33 +00:00
|
|
|
propagatedBuildInputs = [ readline ncurses ];
|
2009-04-23 17:48:06 +00:00
|
|
|
# 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
|
|
|
|
'';
|
2009-04-21 21:12:56 +00:00
|
|
|
meta = {
|
|
|
|
description = "An interface to the GNU readline library";
|
2011-08-15 11:27:02 +00:00
|
|
|
license = "GPL";
|
|
|
|
platforms = self.ghc.meta.platforms;
|
2013-02-18 10:11:16 +00:00
|
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
2009-04-21 21:12:56 +00:00
|
|
|
};
|
2011-03-28 15:04:00 +00:00
|
|
|
})
|