Merge pull request #1996 from jacobhinkle/slrn

Add slrn: command-line newsreader
This commit is contained in:
Peter Simons 2014-03-22 14:34:24 +01:00
commit d294dd7774
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,31 @@
{ stdenv, fetchurl,
slang, ncurses
}:
let version = "1.0.1"; in
stdenv.mkDerivation {
name = "slrn-${version}";
src = fetchurl {
url = "http://www.jedsoft.org/slrn/download/slrn-1.0.1.tar.gz";
sha256 = "1rmaprfwvshzkv0c5vi43839cz3laqjpl306b9z0ghwyjdha1d06";
};
preConfigure = ''
sed -i -e "s|-ltermcap|-lncurses|" configure
sed -i autoconf/Makefile.in src/Makefile.in \
-e "s|/bin/cp|cp|" \
-e "s|/bin/rm|rm|"
'';
configureFlags = "--with-slang=${slang}";
buildInputs = [ slang ncurses ];
meta = {
description = "The slrn (S-Lang read news) newsreader";
homepage = http://slrn.sourceforge.net/index.html;
license = stdenv.lib.licenses.gpl2;
};
}

View File

@ -8905,6 +8905,8 @@ let
skype_call_recorder = callPackage ../applications/networking/instant-messengers/skype-call-recorder { };
slrn = callPackage ../applications/networking/newsreaders/slrn { };
ssvnc = callPackage ../applications/networking/remote/ssvnc { };
st = callPackage ../applications/misc/st {