cff69fdd50
Unmarked as broken, as the newer version uses duktape rather than an incompatible version of spidermonkey.
38 lines
1.5 KiB
Nix
38 lines
1.5 KiB
Nix
{ stdenv, fetchurl, duktape, curl, pcre, readline, openssl, perl, html-tidy }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "edbrowse-${version}";
|
|
version = "3.7.2";
|
|
|
|
buildInputs = [ curl pcre readline openssl duktape perl html-tidy ];
|
|
|
|
patchPhase = ''
|
|
for i in ./tools/*.pl
|
|
do
|
|
substituteInPlace $i --replace "/usr/bin/perl" "${perl}/bin/perl"
|
|
done
|
|
'';
|
|
|
|
makeFlags = "-C src prefix=$(out)";
|
|
|
|
src = fetchurl {
|
|
name = "${name}.tar.gz";
|
|
url = "https://github.com/CMB/edbrowse/archive/v${version}.tar.gz";
|
|
sha256 = "1g9cwk4wszahk2m8k34i3rx44yhqfnv67zls0lk5g7jhrhpbf433";
|
|
};
|
|
meta = with stdenv.lib; {
|
|
description = "Command Line Editor Browser";
|
|
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.
|
|
'';
|
|
license = licenses.gpl1Plus;
|
|
homepage = http://edbrowse.org/;
|
|
maintainers = [ maintainers.schmitthenner maintainers.vrthra ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|