forked from mirrors/nixpkgs
v8_3_16_14: remove unreferenced and outdated package
This commit is contained in:
parent
a1066785fa
commit
e4c372445f
|
@ -1,81 +0,0 @@
|
|||
{ stdenv, lib, fetchurl, gyp, readline, python, which, icu, utillinux, cctools }:
|
||||
|
||||
assert readline != null;
|
||||
|
||||
let
|
||||
arch = if stdenv.isAarch32
|
||||
then (if stdenv.is64bit then "arm64" else "arm")
|
||||
else (if stdenv.is64bit then "x64" else "ia32");
|
||||
armHardFloat = stdenv.isAarch32 && (stdenv.hostPlatform.platform.gcc.float or null) == "hard";
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "v8";
|
||||
version = "3.16.14.11";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://commondatastorage.googleapis.com/chromium-browser-official/"
|
||||
+ "${pname}-${version}.tar.bz2";
|
||||
sha256 = "1gpf2xvhxfs5ll3m2jlslsx9jfjbmrbz55iq362plflrvf8mbxhj";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
sed -i 's/-Werror//' build/standalone.gypi build/common.gypi
|
||||
'';
|
||||
|
||||
configurePhase = stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
export GYP_DEFINES="mac_deployment_target=$MACOSX_DEPLOYMENT_TARGET"
|
||||
'' + ''
|
||||
PYTHONPATH="tools/generate_shim_headers:$PYTHONPATH" \
|
||||
${gyp}/bin/gyp \
|
||||
-f make \
|
||||
--generator-output="out" \
|
||||
-Dflock_index=0 \
|
||||
-Dv8_enable_i18n_support=1 \
|
||||
-Duse_system_icu=1 \
|
||||
-Dconsole=readline \
|
||||
-Dcomponent=shared_library \
|
||||
-Dv8_target_arch=${arch} \
|
||||
${lib.optionalString armHardFloat "-Dv8_use_arm_eabi_hardfloat=true"} \
|
||||
--depth=. -Ibuild/standalone.gypi \
|
||||
build/all.gyp
|
||||
'' + stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
sed -i 's@/usr/bin/env python@${python}/bin/python@g' out/gyp-mac-tool
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ which ];
|
||||
buildInputs = [ readline python icu ]
|
||||
++ lib.optional stdenv.isLinux utillinux
|
||||
++ lib.optional stdenv.isDarwin cctools;
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-Wno-error -w";
|
||||
|
||||
buildFlags = [
|
||||
"-C out"
|
||||
"builddir=$(CURDIR)/Release"
|
||||
"BUILDTYPE=Release"
|
||||
];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
installPhase = ''
|
||||
install -vD out/Release/d8 "$out/bin/d8"
|
||||
${if stdenv.isDarwin then ''
|
||||
install -vD out/Release/libv8.dylib "$out/lib/libv8.dylib"
|
||||
'' else ''
|
||||
install -vD out/Release/lib.target/libv8.so "$out/lib/libv8.so"
|
||||
''}
|
||||
cp -vr include "$out/"
|
||||
'';
|
||||
|
||||
postFixup = if stdenv.isDarwin then ''
|
||||
install_name_tool -change /usr/local/lib/libv8.dylib $out/lib/libv8.dylib $out/bin/d8
|
||||
install_name_tool -id $out/lib/libv8.dylib $out/lib/libv8.dylib
|
||||
'' else null;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "V8 is Google's open source JavaScript engine";
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
license = licenses.bsd3;
|
||||
};
|
||||
}
|
|
@ -392,8 +392,9 @@ mapAliases ({
|
|||
ultrastardx-beta = ultrastardx; # added 2017-08-12
|
||||
usb_modeswitch = usb-modeswitch; # added 2016-05-10
|
||||
usbguard-nox = usbguard; # added 2019-09-04
|
||||
valadoc = throw "deprecated 2019-10-10: valadoc was merged into vala 0.38";
|
||||
v4l_utils = v4l-utils; # added 2019-08-07
|
||||
v8_3_16_14 = throw "removed 2019-11-01: no longer referenced by other packages";
|
||||
valadoc = throw "deprecated 2019-10-10: valadoc was merged into vala 0.38";
|
||||
vimbWrapper = vimb; # added 2015-01
|
||||
vimprobable2Wrapper = vimprobable2; # added 2015-01
|
||||
virtviewer = virt-viewer; # added 2015-12-24
|
||||
|
|
|
@ -14162,12 +14162,6 @@ in
|
|||
stdenv = gcc5Stdenv;
|
||||
};
|
||||
|
||||
v8_3_16_14 = callPackage ../development/libraries/v8/3.16.14.nix {
|
||||
inherit (python2Packages) python gyp;
|
||||
cctools = darwin.cctools;
|
||||
stdenv = if stdenv.isDarwin then stdenv else gcc5Stdenv;
|
||||
};
|
||||
|
||||
v8_5_x = callPackage ../development/libraries/v8/5_x.nix ({
|
||||
inherit (python2Packages) python gyp;
|
||||
icu = icu58; # v8-5.4.232 fails against icu4c-59.1
|
||||
|
|
Loading…
Reference in a new issue