2019-12-12 11:01:35 -08:00
|
|
|
{ stdenv, fetchFromGitHub, duktape, curl, pcre, readline, openssl, perl, html-tidy }:
|
2017-01-25 11:07:40 -08:00
|
|
|
|
2015-01-13 11:42:25 -08:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 05:41:18 -07:00
|
|
|
pname = "edbrowse";
|
2019-12-12 11:01:35 -08:00
|
|
|
version = "3.7.6";
|
2015-08-20 05:32:45 -07:00
|
|
|
|
2018-03-15 00:08:24 -07:00
|
|
|
buildInputs = [ curl pcre readline openssl duktape perl html-tidy ];
|
2015-08-20 05:32:45 -07:00
|
|
|
|
2019-01-04 16:00:26 -08:00
|
|
|
postPatch = ''
|
2016-07-02 09:42:53 -07:00
|
|
|
for i in ./tools/*.pl
|
|
|
|
do
|
|
|
|
substituteInPlace $i --replace "/usr/bin/perl" "${perl}/bin/perl"
|
|
|
|
done
|
2015-08-20 05:32:45 -07:00
|
|
|
'';
|
|
|
|
|
2019-10-27 06:03:25 -07:00
|
|
|
makeFlags = [
|
|
|
|
"-C" "src"
|
2019-12-12 11:01:35 -08:00
|
|
|
"prefix=${placeholder "out"}"
|
|
|
|
];
|
2015-08-20 05:32:45 -07:00
|
|
|
|
2018-03-18 05:42:43 -07:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "CMB";
|
|
|
|
repo = "edbrowse";
|
|
|
|
rev = "v${version}";
|
2019-12-12 11:01:35 -08:00
|
|
|
sha256 = "0yk4djb9q8ll94fs57y706bsqlar4pfx6ysasvkzj146926lrh8a";
|
2015-01-13 11:42:25 -08:00
|
|
|
};
|
2016-07-02 09:42:53 -07:00
|
|
|
meta = with stdenv.lib; {
|
2015-08-20 05:32:45 -07:00
|
|
|
description = "Command Line Editor Browser";
|
2015-01-13 11:42:25 -08:00
|
|
|
longDescription = ''
|
|
|
|
Edbrowse is a combination editor, browser, and mail client that is 100% text based.
|
|
|
|
The interface is similar to /bin/ed, though there are many more features, such as editing multiple files simultaneously, and rendering html.
|
|
|
|
This program was originally written for blind users, but many sighted users have taken advantage of the unique scripting capabilities of this program, which can be found nowhere else.
|
|
|
|
A batch job, or cron job, can access web pages on the internet, submit forms, and send email, with no human intervention whatsoever.
|
|
|
|
edbrowse can also tap into databases through odbc. It was primarily written by Karl Dahlke.
|
|
|
|
'';
|
2016-07-02 09:42:53 -07:00
|
|
|
license = licenses.gpl1Plus;
|
2019-12-12 11:01:35 -08:00
|
|
|
homepage = "https://edbrowse.org/";
|
|
|
|
maintainers = with maintainers; [ schmitthenner vrthra equirosa ];
|
2016-08-02 10:50:55 -07:00
|
|
|
platforms = platforms.linux;
|
2015-01-13 11:42:25 -08:00
|
|
|
};
|
|
|
|
}
|