Merge pull request #9366 from gebner/edbrowse-3.5.4.1

edbrowse: 3.5.2 -> 3.5.4.1
This commit is contained in:
lethalman 2015-08-26 10:47:52 +02:00
commit 5828e34309

View File

@ -1,17 +1,24 @@
{ stdenv, fetchurl, spidermonkey_24, unzip, curl, pcre, readline, openssl }: { stdenv, fetchurl, spidermonkey_24, unzip, curl, pcre, readline, openssl }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "edbrowse-3.5.2"; name = "edbrowse-${version}";
buildInputs = [ unzip curl pcre readline openssl spidermonkey_24 ]; version = "3.5.4.1";
preConfigure = ''
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${spidermonkey_24}/include/mozjs-24" nativeBuildInputs = [ unzip ];
''; buildInputs = [ curl pcre readline openssl spidermonkey_24 ];
installPhase = "installBin src/edbrowse";
patchPhase = ''
substituteInPlace src/ebjs.c --replace \"edbrowse-js\" \"$out/bin/edbrowse-js\"
'';
NIX_CFLAGS_COMPILE = "-I${spidermonkey_24}/include/mozjs-24";
makeFlags = "-C src prefix=$(out)";
src = fetchurl { src = fetchurl {
url = "http://the-brannons.com/edbrowse/${name}.zip"; url = "http://edbrowse.org/${name}.zip";
sha256 = "5f1ac927d126b8c8fd411231cffa9eba5405013e64994e55e1864b2f85d52714"; sha256 = "0fpzaalwvgwbns7yxq4a4i6hpdljmcjfyvx19r1dlb3vdfw0vx5l";
}; };
meta = { meta = {
description = "Edbrowse, a Command Line Editor Browser"; description = "Command Line Editor Browser";
longDescription = '' longDescription = ''
Edbrowse is a combination editor, browser, and mail client that is 100% text based. 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. The interface is similar to /bin/ed, though there are many more features, such as editing multiple files simultaneously, and rendering html.
@ -20,7 +27,7 @@ stdenv.mkDerivation rec {
edbrowse can also tap into databases through odbc. It was primarily written by Karl Dahlke. edbrowse can also tap into databases through odbc. It was primarily written by Karl Dahlke.
''; '';
license = stdenv.lib.licenses.gpl1Plus; license = stdenv.lib.licenses.gpl1Plus;
homepage = http://the-brannons.com/edbrowse/; homepage = http://edbrowse.org/;
maintainers = [ stdenv.lib.maintainers.schmitthenner ]; maintainers = [ stdenv.lib.maintainers.schmitthenner ];
}; };
} }