edbrowse: mark as broken

This commit is contained in:
Robin Gloster 2017-01-25 20:07:40 +01:00
parent 9bf73bded1
commit 3d9e90fe54
No known key found for this signature in database
GPG Key ID: 5E4C836C632C2882

View File

@ -1,10 +1,11 @@
{ stdenv, fetchurl, spidermonkey_24, unzip, curl, pcre, readline, openssl, perl, html-tidy }: { stdenv, fetchurl, spidermonkey, unzip, curl, pcre, readline, openssl, perl, html-tidy }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "edbrowse-${version}"; name = "edbrowse-${version}";
version = "3.6.1"; version = "3.6.1";
nativeBuildInputs = [ unzip ]; nativeBuildInputs = [ unzip ];
buildInputs = [ curl pcre readline openssl spidermonkey_24 perl html-tidy ]; buildInputs = [ curl pcre readline openssl spidermonkey perl html-tidy ];
patchPhase = '' patchPhase = ''
substituteInPlace src/ebjs.c --replace \"edbrowse-js\" \"$out/bin/edbrowse-js\" substituteInPlace src/ebjs.c --replace \"edbrowse-js\" \"$out/bin/edbrowse-js\"
@ -14,7 +15,7 @@ stdenv.mkDerivation rec {
done done
''; '';
NIX_CFLAGS_COMPILE = "-I${spidermonkey_24.dev}/include/mozjs-24"; NIX_CFLAGS_COMPILE = "-I${spidermonkey}/include/mozjs-31";
makeFlags = "-C src prefix=$(out)"; makeFlags = "-C src prefix=$(out)";
src = fetchurl { src = fetchurl {
@ -34,5 +35,6 @@ stdenv.mkDerivation rec {
homepage = http://edbrowse.org/; homepage = http://edbrowse.org/;
maintainers = [ maintainers.schmitthenner maintainers.vrthra ]; maintainers = [ maintainers.schmitthenner maintainers.vrthra ];
platforms = platforms.linux; platforms = platforms.linux;
broken = true; # no compatible spidermonkey
}; };
} }