nixpkgs-suyu/pkgs/applications/networking/newsreaders/slrn/default.nix

35 lines
865 B
Nix
Raw Normal View History

2014-10-27 17:46:14 +01:00
{ stdenv, fetchurl
2016-01-01 04:38:49 +01:00
, slang, ncurses, openssl }:
2019-08-09 03:42:10 +02:00
stdenv.mkDerivation rec {
pname = "slrn";
version = "1.0.3a";
src = fetchurl {
2019-08-09 03:42:10 +02:00
url = "http://www.jedsoft.org/releases/slrn/slrn-${version}.tar.bz2";
sha256 = "1b1d9iikr60w0vq86y9a0l4gjl0jxhdznlrdp3r405i097as9a1v";
};
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|"
'';
2018-07-25 23:44:21 +02:00
configureFlags = [
"--with-slang=${slang.dev}"
"--with-ssl=${openssl.dev}"
];
2016-01-01 04:38:49 +01:00
buildInputs = [ slang ncurses openssl ];
2014-10-27 17:46:14 +01:00
meta = with stdenv.lib; {
description = "The slrn (S-Lang read news) newsreader";
homepage = "http://slrn.sourceforge.net/index.html";
maintainers = with maintainers; [ ehmry ];
2014-10-27 17:46:14 +01:00
license = licenses.gpl2;
platforms = with platforms; linux;
};
}