mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 05:31:22 +00:00
22 lines
743 B
Nix
22 lines
743 B
Nix
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
|
|
|
|
{ cabal, readline, ncurses }:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "readline";
|
|
version = "1.0.3.0";
|
|
sha256 = "1sszlx34qa88fad3wlhd4rkb1my1nrpzvyd8vq7dn806j5sf3ff0";
|
|
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";
|
|
license = "GPL";
|
|
platforms = self.ghc.meta.platforms;
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
|
};
|
|
})
|