diff options
author | Ludovic Courtès <ludo@gnu.org> | 2011-01-20 22:06:35 +0000 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2011-01-20 22:06:35 +0000 |
commit | 72a6bbc02c15ff3a327c885d811bf316f0d4355e (patch) | |
tree | 9adab0520b076e51720c26054c10dfabe39b7d9e /pkgs/development/guile-modules | |
parent | 038e045bc76e1abab495b17c7cdad4350c394dd3 (diff) |
GNU Guile-Ncurses 1.2.
svn path=/nixpkgs/trunk/; revision=25646
Diffstat (limited to 'pkgs/development/guile-modules')
-rw-r--r-- | pkgs/development/guile-modules/guile-ncurses/default.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/development/guile-modules/guile-ncurses/default.nix b/pkgs/development/guile-modules/guile-ncurses/default.nix new file mode 100644 index 000000000000..f22581148db8 --- /dev/null +++ b/pkgs/development/guile-modules/guile-ncurses/default.nix @@ -0,0 +1,34 @@ +{ fetchurl, stdenv, guile, ncurses }: + +stdenv.mkDerivation rec { + name = "guile-ncurses-1.2"; + + src = fetchurl { + url = "mirror://gnu/guile-ncurses/${name}.tar.gz"; + sha256 = "038jfi14wdcpq87bpyff2b5mb9mr0garsa3dypwwd29ah6h1x00i"; + }; + + buildInputs = [ guile ncurses ]; + + preConfigure = + '' configureFlags="$configureFlags --with-guilesitedir=$out/share/guile/site" ''; + + preCheck = '' export TERM=xterm ''; + doCheck = false; # FIXME: Hard to test non-interactively. + + 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 + }; +} |