2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, duktape, curl, pcre, readline, openssl, perl, html-tidy }:
|
2017-01-25 20:07:40 +01:00
|
|
|
|
2015-01-13 20:42:25 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "edbrowse";
|
2020-11-13 09:42:36 +01:00
|
|
|
version = "3.7.7";
|
2015-08-20 14:32:45 +02:00
|
|
|
|
2018-03-15 08:08:24 +01:00
|
|
|
buildInputs = [ curl pcre readline openssl duktape perl html-tidy ];
|
2015-08-20 14:32:45 +02:00
|
|
|
|
2019-01-05 01:00:26 +01:00
|
|
|
postPatch = ''
|
2016-07-02 18:42:53 +02:00
|
|
|
for i in ./tools/*.pl
|
|
|
|
do
|
|
|
|
substituteInPlace $i --replace "/usr/bin/perl" "${perl}/bin/perl"
|
|
|
|
done
|
2015-08-20 14:32:45 +02:00
|
|
|
'';
|
|
|
|
|
2019-10-27 14:03:25 +01:00
|
|
|
makeFlags = [
|
|
|
|
"-C" "src"
|
2019-12-12 20:01:35 +01:00
|
|
|
"prefix=${placeholder "out"}"
|
|
|
|
];
|
2015-08-20 14:32:45 +02:00
|
|
|
|
2018-03-18 13:42:43 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "CMB";
|
|
|
|
repo = "edbrowse";
|
|
|
|
rev = "v${version}";
|
2020-11-13 09:42:36 +01:00
|
|
|
sha256 = "0cw9d60mdhwna57r1vxn53s8gl81rr3cxnvm769ifq3xyh49vfcf";
|
2015-01-13 20:42:25 +01:00
|
|
|
};
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2015-08-20 14:32:45 +02:00
|
|
|
description = "Command Line Editor Browser";
|
2015-01-13 20:42:25 +01: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 18:42:53 +02:00
|
|
|
license = licenses.gpl1Plus;
|
2019-12-12 20:01:35 +01:00
|
|
|
homepage = "https://edbrowse.org/";
|
|
|
|
maintainers = with maintainers; [ schmitthenner vrthra equirosa ];
|
2016-08-02 19:50:55 +02:00
|
|
|
platforms = platforms.linux;
|
2015-01-13 20:42:25 +01:00
|
|
|
};
|
|
|
|
}
|