diff options
author | Alyssa Ross <hi@alyssa.is> | 2019-01-07 02:18:36 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2019-01-07 02:18:47 +0000 |
commit | 36f56d99fa0a0765c9f1de4a5f17a9b05830c3f2 (patch) | |
tree | b3faaf573407b32aa645237a4d16b82778a39a92 /nixpkgs/pkgs/applications/editors/edbrowse | |
parent | 4e31070265257dc67d120c27e0f75c2344fdfa9a (diff) | |
parent | abf060725d7614bd3b9f96764262dfbc2f9c2199 (diff) | |
download | nixlib-36f56d99fa0a0765c9f1de4a5f17a9b05830c3f2.tar nixlib-36f56d99fa0a0765c9f1de4a5f17a9b05830c3f2.tar.gz nixlib-36f56d99fa0a0765c9f1de4a5f17a9b05830c3f2.tar.bz2 nixlib-36f56d99fa0a0765c9f1de4a5f17a9b05830c3f2.tar.lz nixlib-36f56d99fa0a0765c9f1de4a5f17a9b05830c3f2.tar.xz nixlib-36f56d99fa0a0765c9f1de4a5f17a9b05830c3f2.tar.zst nixlib-36f56d99fa0a0765c9f1de4a5f17a9b05830c3f2.zip |
Add 'nixpkgs/' from commit 'abf060725d7614bd3b9f96764262dfbc2f9c2199'
git-subtree-dir: nixpkgs git-subtree-mainline: 4e31070265257dc67d120c27e0f75c2344fdfa9a git-subtree-split: abf060725d7614bd3b9f96764262dfbc2f9c2199
Diffstat (limited to 'nixpkgs/pkgs/applications/editors/edbrowse')
-rw-r--r-- | nixpkgs/pkgs/applications/editors/edbrowse/default.nix | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/editors/edbrowse/default.nix b/nixpkgs/pkgs/applications/editors/edbrowse/default.nix new file mode 100644 index 000000000000..28775e48e1a7 --- /dev/null +++ b/nixpkgs/pkgs/applications/editors/edbrowse/default.nix @@ -0,0 +1,38 @@ +{ stdenv, fetchFromGitHub, duktape, curl, pcre, readline, openssl, perl, html-tidy }: + +stdenv.mkDerivation rec { + name = "edbrowse-${version}"; + version = "3.7.4"; + + 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 = fetchFromGitHub { + owner = "CMB"; + repo = "edbrowse"; + rev = "v${version}"; + sha256 = "0i9ivyfy1dd16c89f392kwx6wxgkkpyq2hl32jhzra0fb0zyl0k6"; + }; + 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; + }; +} |