summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/editors/edbrowse
diff options
context:
space:
mode:
authorMax Zerzouri <maxdamantus@gmail.com>2018-03-15 20:08:24 +1300
committerMax Zerzouri <maxdamantus@gmail.com>2018-03-15 23:46:54 +1300
commitcff69fdd50173f018c586abb59a15d7bb42b9b41 (patch)
tree3dc9e558da304a89a56a51ddce86074f48b0ad45 /pkgs/applications/editors/edbrowse
parentf2032af769b59bdd7dae9302e7db4a452af96193 (diff)
edbrowse: 3.6.1 -> 3.7.2
Unmarked as broken, as the newer version uses duktape rather than an incompatible version of spidermonkey.
Diffstat (limited to 'pkgs/applications/editors/edbrowse')
-rw-r--r--pkgs/applications/editors/edbrowse/default.nix15
1 files changed, 6 insertions, 9 deletions
diff --git a/pkgs/applications/editors/edbrowse/default.nix b/pkgs/applications/editors/edbrowse/default.nix
index e5e64a32e977..9ca64678cb96 100644
--- a/pkgs/applications/editors/edbrowse/default.nix
+++ b/pkgs/applications/editors/edbrowse/default.nix
@@ -1,26 +1,24 @@
-{ stdenv, fetchurl, spidermonkey, unzip, curl, pcre, readline, openssl, perl, html-tidy }:
+{ stdenv, fetchurl, duktape, curl, pcre, readline, openssl, perl, html-tidy }:
stdenv.mkDerivation rec {
name = "edbrowse-${version}";
- version = "3.6.1";
+ version = "3.7.2";
- nativeBuildInputs = [ unzip ];
- buildInputs = [ curl pcre readline openssl spidermonkey perl html-tidy ];
+ buildInputs = [ curl pcre readline openssl duktape perl html-tidy ];
patchPhase = ''
- substituteInPlace src/ebjs.c --replace \"edbrowse-js\" \"$out/bin/edbrowse-js\"
for i in ./tools/*.pl
do
substituteInPlace $i --replace "/usr/bin/perl" "${perl}/bin/perl"
done
'';
- NIX_CFLAGS_COMPILE = "-I${spidermonkey}/include/mozjs-31";
makeFlags = "-C src prefix=$(out)";
src = fetchurl {
- url = "http://edbrowse.org/${name}.zip";
- sha256 = "1grkn09r31nmvcnm76jkd8aclmd9n5141mpqvb86wndp9pa7gz7q";
+ 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";
@@ -35,6 +33,5 @@ stdenv.mkDerivation rec {
homepage = http://edbrowse.org/;
maintainers = [ maintainers.schmitthenner maintainers.vrthra ];
platforms = platforms.linux;
- broken = true; # no compatible spidermonkey
};
}