mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 12:53:59 +03:00
Merge pull request #1996 from jacobhinkle/slrn
Add slrn: command-line newsreader
This commit is contained in:
commit
d294dd7774
31
pkgs/applications/networking/newsreaders/slrn/default.nix
Normal file
31
pkgs/applications/networking/newsreaders/slrn/default.nix
Normal 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;
|
||||
};
|
||||
}
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user