guile-modules: stylistic nix expression changes to modules with sole
maintainer vyp
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
{ fetchurl, stdenv, pkgconfig, guile, ncurses, libffi }:
|
||||
{ stdenv, fetchurl, pkgconfig, guile, ncurses, libffi }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "guile-ncurses-1.7";
|
||||
let
|
||||
name = "guile-ncurses-${version}";
|
||||
version = "1.7";
|
||||
in stdenv.mkDerivation {
|
||||
inherit name;
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnu/guile-ncurses/${name}.tar.gz";
|
||||
@@ -11,31 +14,31 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ guile ncurses libffi ];
|
||||
|
||||
preConfigure =
|
||||
'' configureFlags="$configureFlags --with-guilesitedir=$out/share/guile/site" '';
|
||||
preConfigure = ''
|
||||
configureFlags="$configureFlags --with-guilesitedir=$out/share/guile/site"
|
||||
'';
|
||||
|
||||
postFixup =
|
||||
'' for f in $out/share/guile/site/ncurses/**.scm; do \
|
||||
substituteInPlace $f \
|
||||
--replace "libguile-ncurses" "$out/lib/libguile-ncurses"; \
|
||||
done
|
||||
postFixup = ''
|
||||
for f in $out/share/guile/site/ncurses/**.scm; do \
|
||||
substituteInPlace $f \
|
||||
--replace "libguile-ncurses" "$out/lib/libguile-ncurses"; \
|
||||
done
|
||||
'';
|
||||
|
||||
# XXX: 1 of 65 tests failed.
|
||||
doCheck = false;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "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.
|
||||
'';
|
||||
|
||||
doCheck = false; # XXX: 1 of 65 tests failed
|
||||
|
||||
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 = stdenv.lib.licenses.lgpl3Plus;
|
||||
|
||||
maintainers = [ stdenv.lib.maintainers.vyp ];
|
||||
platforms = stdenv.lib.platforms.gnu; # arbitrary choice
|
||||
homepage = "https://www.gnu.org/software/guile-ncurses/";
|
||||
license = licenses.lgpl3Plus;
|
||||
maintainers = with maintainers; [ vyp ];
|
||||
platforms = platforms.gnu;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user