diff --git a/pkgs/development/libraries/slang/default.nix b/pkgs/development/libraries/slang/default.nix index a7db634dbd0..a63729e414d 100644 --- a/pkgs/development/libraries/slang/default.nix +++ b/pkgs/development/libraries/slang/default.nix @@ -1,17 +1,25 @@ -{stdenv, fetchurl, ncurses, pcre, libpng, zlib, readline}: +{ stdenv, fetchurl, ncurses, pcre, libpng, zlib, readline }: -stdenv.mkDerivation { - name = "slang-2.2.1"; +stdenv.mkDerivation rec { + name = "slang-2.3.0"; src = fetchurl { - url = ftp://ftp.fu-berlin.de/pub/unix/misc/slang/v2.2/slang-2.2.1.tar.bz2; - sha256 = "1qgfg6i5lzmw8j9aqd8pgz3vnhn80giij9bpgm5r3gmna2h0rzfj"; + url = "ftp://ftp.fu-berlin.de/pub/unix/misc/slang/v2.2/${name}.tar.bz2"; + sha256 = "0ab1j8pb3r84c5wqwadh3d5akwd5mwwv6fah58hxiq251w328lpr"; }; # Fix some wrong hardcoded paths preConfigure = '' sed -i -e "s|/usr/lib/terminfo|${ncurses}/lib/terminfo|" configure - sed -i -e "s|/usr/lib/terminfo|${ncurses}/lib/terminfo|" src/sltermin.c + sed -i -e "s|/usr/lib/terminfo|${ncurses}/lib/terminfo|" src/sltermin.c sed -i -e "s|/bin/ln|ln|" src/Makefile.in ''; configureFlags = "--with-png=${libpng} --with-z=${zlib} --with-pcre=${pcre} --with-readline=${readline}"; buildInputs = [ncurses pcre libpng zlib readline]; + + meta = { + description = "A multi-platform programmer's library designed to allow a developer to create robust software"; + homepage = http://www.jedsoft.org/slang/; + license = stdenv.lib.licenses.gpl2Plus; + platform = stdenv.lib.platforms.unix; + maintainers = with stdenv.lib.maintainers; [ fuuzetsu ]; + }; }