2013-11-29 02:40:35 +00:00
|
|
|
{ fetchurl, stdenv, guile, ncurses, libffi }:
|
2011-01-20 22:06:35 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2011-02-04 08:40:33 +00:00
|
|
|
name = "guile-ncurses-1.3";
|
2011-01-20 22:06:35 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnu/guile-ncurses/${name}.tar.gz";
|
2011-02-04 08:40:33 +00:00
|
|
|
sha256 = "0chvfjrlmg99db98ra9vzwjmbypqx7d4ssm8q0kvzi0n0p9irszi";
|
2011-01-20 22:06:35 +00:00
|
|
|
};
|
|
|
|
|
2013-11-29 02:40:35 +00:00
|
|
|
buildInputs = [ guile ncurses libffi ];
|
2011-01-20 22:06:35 +00:00
|
|
|
|
|
|
|
preConfigure =
|
|
|
|
'' configureFlags="$configureFlags --with-guilesitedir=$out/share/guile/site" '';
|
|
|
|
|
2011-02-04 08:40:33 +00:00
|
|
|
doCheck = false; # XXX: 1 of 65 tests failed
|
2011-01-20 22:06:35 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "GNU Guile-Ncurses, Scheme interface to the NCurses libraries";
|
|
|
|
|
|
|
|
longDescription =
|
|
|
|
'' GNU Guile-Ncurses is a library for the Guile Scheme interpreter that
|
|
|
|
provides functions for creating text user interfaces. The text user
|
|
|
|
interface functionality is built on the ncurses libraries: curses,
|
|
|
|
form, panel, and menu.
|
|
|
|
'';
|
|
|
|
|
|
|
|
license = "LGPLv3+";
|
|
|
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.ludo ];
|
|
|
|
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
|
|
|
|
};
|
|
|
|
}
|