summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorFabian Schmitthenner <development@schmitthenner.eu>2015-01-13 20:42:25 +0100
committerFabian Schmitthenner <development@schmitthenner.eu>2015-02-22 23:11:01 +0000
commit8a74fa7723cdc84482099b98e4c4f2630ac27cc4 (patch)
treef06cbba8328cffd743a60432730556cc65d47d89 /pkgs
parent88683589b4d453d6c10d7dc47ea15c134b7ac857 (diff)
downloadnixpkgs-8a74fa7723cdc84482099b98e4c4f2630ac27cc4.tar
nixpkgs-8a74fa7723cdc84482099b98e4c4f2630ac27cc4.tar.gz
nixpkgs-8a74fa7723cdc84482099b98e4c4f2630ac27cc4.tar.bz2
nixpkgs-8a74fa7723cdc84482099b98e4c4f2630ac27cc4.tar.lz
nixpkgs-8a74fa7723cdc84482099b98e4c4f2630ac27cc4.tar.xz
nixpkgs-8a74fa7723cdc84482099b98e4c4f2630ac27cc4.tar.zst
nixpkgs-8a74fa7723cdc84482099b98e4c4f2630ac27cc4.zip
add edbrowse to all packages
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/applications/editors/edbrowse/default.nix26
-rw-r--r--pkgs/top-level/all-packages.nix2
2 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/applications/editors/edbrowse/default.nix b/pkgs/applications/editors/edbrowse/default.nix
new file mode 100644
index 00000000000..8fdc198f45c
--- /dev/null
+++ b/pkgs/applications/editors/edbrowse/default.nix
@@ -0,0 +1,26 @@
+{ stdenv, fetchurl, spidermonkey_24, unzip, curl, pcre, readline, openssl }:
+stdenv.mkDerivation rec {
+  name = "edbrowse-3.5.2";
+  buildInputs = [ unzip curl pcre readline openssl spidermonkey_24 ];
+  preConfigure = ''
+    export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${spidermonkey_24}/include/mozjs-24"
+    '';
+  installPhase = "installBin src/edbrowse";
+  src = fetchurl {
+    url = "http://the-brannons.com/edbrowse/${name}.zip";
+    sha256 = "5f1ac927d126b8c8fd411231cffa9eba5405013e64994e55e1864b2f85d52714";
+  };
+  meta = {
+    description = "Edbrowse, a 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 = stdenv.lib.licenses.gpl1Plus;
+    homepage = http://the-brannons.com/edbrowse/;
+    maintainers = [ stdenv.lib.maintainers.schmitthenner ];
+  };
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index 6762d3713d4..dc21e1ba92e 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -9538,6 +9538,8 @@ let
 
   ed = callPackage ../applications/editors/ed { };
 
+  edbrowse = callPackage ../applications/editors/edbrowse { };
+
   ekho = callPackage ../applications/audio/ekho { };
 
   electrum = callPackage ../applications/misc/electrum { };