Merge pull request #96555 from gebner/emscripten2

This commit is contained in:
Gabriel Ebner 2020-08-29 15:49:21 +02:00 committed by GitHub
commit 6141b50dd5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 911 additions and 205 deletions

View File

@ -5,8 +5,7 @@
, pkgconfig
, cmake
, llvm
# TODO: put back when it builds again
# , emscripten
, emscripten
, openssl
, libsndfile
, libmicrohttpd
@ -47,7 +46,7 @@ let
inherit src;
nativeBuildInputs = [ makeWrapper pkgconfig cmake vim which ];
buildInputs = [ llvm /*emscripten*/ openssl libsndfile libmicrohttpd gnutls libtasn1 p11-kit ];
buildInputs = [ llvm emscripten openssl libsndfile libmicrohttpd gnutls libtasn1 p11-kit ];
passthru = {

View File

@ -1,38 +0,0 @@
From 1c6af6c68ba3f49ae9e942844c739e934339d3b9 Mon Sep 17 00:00:00 2001
From: Maximilian Bosch <maximilian@mbosch.me>
Date: Sat, 14 Mar 2020 00:37:31 +0100
Subject: [PATCH] Get rid of git dependency
---
CMakeLists.txt | 15 +--------------
1 file changed, 1 insertion(+), 14 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4acf703e1..4e9bd60b5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -7,20 +7,7 @@ IF(NOT CMAKE_BUILD_TYPE)
SET(CMAKE_BUILD_TYPE "Release")
ENDIF()
-FIND_PACKAGE(Git QUIET REQUIRED)
-EXECUTE_PROCESS(COMMAND
- "${GIT_EXECUTABLE}" --git-dir=${CMAKE_CURRENT_SOURCE_DIR}/.git describe --tags
- RESULT_VARIABLE
- GIT_HASH_RESULT
- OUTPUT_VARIABLE
- GIT_HASH
- OUTPUT_STRIP_TRAILING_WHITESPACE)
-IF(${GIT_HASH_RESULT})
- MESSAGE(WARNING "Error running git describe to determine version")
- SET(BINARYEN_VERSION_INFO "(unable to determine version)")
-ELSE()
- SET(BINARYEN_VERSION_INFO "${GIT_HASH}")
-ENDIF()
+SET(BINARYEN_VERSION_INFO "@emscriptenv@")
CONFIGURE_FILE(config.h.in config.h)
OPTION(BUILD_STATIC_LIB "Build as a static library" OFF)
--
2.25.0

View File

@ -1,38 +1,23 @@
{ stdenv, cmake, python3, fetchFromGitHub, emscriptenRev ? null, substituteAll }:
let
defaultVersion = "95";
# Map from git revs to SHA256 hashes
sha256s = {
version_95 = "1w4js9bm5qv5aws8bzz4f0n3ni2l7h4fidkq9v5bldf0zxncy8m3";
"1.39.1" = "0ygm9m5322h4vfpf3j63q32qxk2l26yk62hh7dkb49j51zwl1y3y";
};
in
{ stdenv, cmake, python3, fetchFromGitHub, fetchpatch, emscripten }:
stdenv.mkDerivation rec {
version = if emscriptenRev == null
then defaultVersion
else "emscripten-${emscriptenRev}";
rev = if emscriptenRev == null
then "version_${version}"
else emscriptenRev;
pname = "binaryen";
version = "96";
src = fetchFromGitHub {
owner = "WebAssembly";
repo = "binaryen";
sha256 =
if builtins.hasAttr rev sha256s
then builtins.getAttr rev sha256s
else null;
inherit rev;
rev = "version_${version}";
sha256 = "1mqpb6yy87aifpbcy0lczi3bp6kddrwi6d0g6lrhjrdxx2kvbdag";
};
patches = stdenv.lib.optional (emscriptenRev != null) (substituteAll {
src = ./0001-Get-rid-of-git-dependency.patch;
emscriptenv = "1.39.1";
});
patches = [
# Adds --minimize-wasm-changes option required by emscripten 2.0.1
(fetchpatch {
url = "https://patch-diff.githubusercontent.com/raw/WebAssembly/binaryen/pull/3044.patch";
sha256 = "1hdbc9h9zhh2d3bl4sqv6v9psfmny715612bwpjdln0ibdvc129s";
})
];
nativeBuildInputs = [ cmake python3 ];
@ -43,4 +28,8 @@ stdenv.mkDerivation rec {
maintainers = with maintainers; [ asppsa ];
license = licenses.asl20;
};
passthru.tests = {
inherit emscripten;
};
}

View File

@ -1,63 +1,104 @@
{ emscriptenVersion, stdenv, fetchFromGitHub, emscriptenfastcomp, python, nodejs, closurecompiler
, jre, binaryen, enableWasm ? true , cmake
{ stdenv, fetchFromGitHub, python3, nodejs, closurecompiler
, jre, binaryen
, llvmPackages_11
, symlinkJoin, makeWrapper
, mkYarnModules
}:
let
rev = emscriptenVersion;
appdir = "share/emscripten";
binaryenVersioned = binaryen.override { emscriptenRev = rev; };
in
stdenv.mkDerivation rec {
pname = "emscripten";
version = "2.0.1";
stdenv.mkDerivation {
name = "emscripten-${rev}";
llvmEnv = symlinkJoin {
name = "emscripten-llvm-${version}";
paths = with llvmPackages_11; [ clang-unwrapped lld llvm ];
};
nodeModules = mkYarnModules {
name = "emscripten-node-modules-${version}";
inherit pname version;
# it is vitally important the the package.json has name and version fields
packageJSON = ./package.json;
yarnLock = ./yarn.lock;
yarnNix = ./yarn.nix;
};
src = fetchFromGitHub {
owner = "emscripten-core";
repo = "emscripten";
sha256 = "1j3f0hpy05qskaiyv75l7wv4n0nzxhrh9b296zchx3f6f9h2rghq";
inherit rev;
sha256 = "06dsd819qjv4n2ihrz1mpn5aigmbv0gpkm7iw06wrqx30nzphnpk";
rev = version;
};
buildInputs = [ nodejs cmake python ];
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ nodejs python3 ];
buildPhase = ''
patchShebangs .
buildCommand = ''
mkdir -p $out/${appdir}
cp -r $src/* $out/${appdir}
chmod -R +w $out/${appdir}
grep -rl '^#!/usr.*python' $out/${appdir} | xargs sed -i -s 's@^#!/usr.*python.*@#!${python}/bin/python@'
sed -i -e "s,EM_CONFIG = '~/.emscripten',EM_CONFIG = '$out/${appdir}/config'," $out/${appdir}/tools/shared.py
sed -i -e 's,^.*did not see a source tree above the LLVM.*$, return True,' $out/${appdir}/tools/shared.py
sed -i -e 's,def check_sanity(force=False):,def check_sanity(force=False):\n return,' $out/${appdir}/tools/shared.py
# fixes cmake support
sed -i -e "s/print \('emcc (Emscript.*\)/sys.stderr.write(\1); sys.stderr.flush()/g" $out/${appdir}/emcc.py
mkdir $out/bin
ln -s $out/${appdir}/{em++,em-config,emar,embuilder.py,emcc,emcmake,emconfigure,emlink.py,emmake,emranlib,emrun,emscons} $out/bin
sed -i -e "s/print \('emcc (Emscript.*\)/sys.stderr.write(\1); sys.stderr.flush()/g" emcc.py
echo "EMSCRIPTEN_ROOT = '$out/${appdir}'" > $out/${appdir}/config
echo "LLVM_ROOT = '${emscriptenfastcomp}/bin'" >> $out/${appdir}/config
echo "PYTHON = '${python}/bin/python'" >> $out/${appdir}/config
echo "NODE_JS = '${nodejs}/bin/node'" >> $out/${appdir}/config
echo "JS_ENGINES = [NODE_JS]" >> $out/${appdir}/config
echo "COMPILER_ENGINE = NODE_JS" >> $out/${appdir}/config
echo "CLOSURE_COMPILER = '${closurecompiler}/share/java/closure-compiler-v${closurecompiler.version}.jar'" >> $out/${appdir}/config
echo "JAVA = '${jre}/bin/java'" >> $out/${appdir}/config
# disables cache in user home, use installation directory instead
sed -i '/^def/!s/root_is_writable()/True/' tools/shared.py
sed -i "/^def check_sanity/a\\ return" tools/shared.py
# required for wasm2c
ln -s ${nodeModules}/node_modules .
echo "EMSCRIPTEN_ROOT = '$appdir'" > .emscripten
echo "LLVM_ROOT = '${llvmEnv}/bin'" >> .emscripten
echo "NODE_JS = '${nodejs}/bin/node'" >> .emscripten
echo "JS_ENGINES = [NODE_JS]" >> .emscripten
echo "CLOSURE_COMPILER = ['${closurecompiler}/bin/closure-compiler']" >> .emscripten
echo "JAVA = '${jre}/bin/java'" >> .emscripten
# to make the test(s) below work
echo "SPIDERMONKEY_ENGINE = []" >> $out/${appdir}/config
''
+ stdenv.lib.optionalString enableWasm ''
echo "BINARYEN_ROOT = '${binaryenVersioned}'" >> $out/share/emscripten/config
''
+
''
echo "--------------- running test -----------------"
# quick hack to get the test working
HOME=$TMPDIR
cp $out/${appdir}/config $HOME/.emscripten
export PATH=$PATH:$out/bin
# echo "SPIDERMONKEY_ENGINE = []" >> .emscripten
echo "BINARYEN_ROOT = '${binaryen}'" >> .emscripten
#export EMCC_DEBUG=2
${python}/bin/python $src/tests/runner.py test_hello_world
echo "--------------- /running test -----------------"
# make emconfigure/emcmake use the correct (wrapped) binaries
sed -i "s|^EMCC =.*|EMCC='$out/bin/emcc'|" tools/shared.py
sed -i "s|^EMXX =.*|EMXX='$out/bin/em++'|" tools/shared.py
sed -i "s|^EMAR =.*|EMAR='$out/bin/emar'|" tools/shared.py
sed -i "s|^EMRANLIB =.*|EMRANLIB='$out/bin/emranlib'|" tools/shared.py
# The tests use the C compiler to compile generated C code,
# use the wrapped compiler
sed -i 's/shared.CLANG_CC/"cc"/' tests/runner.py
'';
installPhase = ''
appdir=$out/share/emscripten
mkdir -p $appdir
cp -r . $appdir
chmod -R +w $appdir
mkdir -p $out/bin
for b in em++ em-config emar embuilder.py emcc emcmake emconfigure emlink.py emmake emranlib emrun emscons; do
makeWrapper $appdir/$b $out/bin/$b \
--set NODE_PATH ${nodeModules}/node_modules \
--set EM_EXCLUSIVE_CACHE_ACCESS 1 \
--set PYTHON ${python3}/bin/python
done
# precompile libc (etc.) in all variants:
pushd $TMPDIR
echo 'int main() { return 42; }' >test.c
for LTO in -flto ""; do
# wasm2c doesn't work with PIC
$out/bin/emcc -s WASM2C -s STANDALONE_WASM $LTO test.c
for RELOCATABLE in "" "-s RELOCATABLE"; do
$out/bin/emcc $RELOCATABLE $LTO test.c
done
done
popd
export PYTHON=${python3}/bin/python
export NODE_PATH=${nodeModules}/node_modules
pushd $appdir
python tests/runner.py test_hello_world
popd
'';
meta = with stdenv.lib; {

View File

@ -1,28 +0,0 @@
{ newScope, stdenv, binutils, wrapCCWith, symlinkJoin }:
let
callPackage = newScope (self // {inherit stdenv;});
self = {
emscriptenfastcomp-unwrapped = callPackage ./emscripten-fastcomp.nix {};
emscriptenfastcomp-wrapped = wrapCCWith {
cc = self.emscriptenfastcomp-unwrapped;
# Never want Apple's cctools for WASM target
bintools = binutils;
libc = stdenv.cc.libc;
extraBuildCommands = ''
# hardening flags break WASM support
cat > $out/nix-support/add-hardening.sh
'';
};
emscriptenfastcomp = symlinkJoin {
name = "emscriptenfastcomp-${stdenv.lib.getVersion self.emscriptenfastcomp-unwrapped}";
paths = [ self.emscriptenfastcomp-wrapped self.emscriptenfastcomp-unwrapped ];
preferLocalBuild = false;
allowSubstitutes = true;
postBuild = ''
# replace unwrapped clang-3.9 binary by wrapper
ln -sf $out/bin/clang $out/bin/clang-[0-9]*
'';
};
};
in self

View File

@ -1,53 +0,0 @@
{ emscriptenVersion, stdenv, fetchFromGitHub, cmake, python, gtest, gccForLibs, ... }:
let
rev = emscriptenVersion;
in
stdenv.mkDerivation rec {
name = "emscripten-fastcomp-${rev}";
src = fetchFromGitHub {
owner = "emscripten-core";
repo = "emscripten-fastcomp";
sha256 = "0bd0l5k2fa4k0nax2cpxi003pqffqivx4z4m2j5xdha1a12sid8i";
inherit rev;
};
srcFL = fetchFromGitHub {
owner = "emscripten-core";
repo = "emscripten-fastcomp-clang";
sha256 = "1iw2qplhp489qzw0rma73sab7asnm27g4m95sr36c6kq9cq6agri";
inherit rev;
};
nativeBuildInputs = [ cmake python gtest ];
preConfigure = ''
cp -Lr ${srcFL} tools/clang
chmod +w -R tools/clang
'';
cmakeFlags = [
"-DCMAKE_BUILD_TYPE=Release"
"-DLLVM_TARGETS_TO_BUILD='X86;JSBackend'"
"-DLLVM_INCLUDE_EXAMPLES=OFF"
"-DLLVM_INCLUDE_TESTS=ON"
#"-DLLVM_CONFIG=${llvm}/bin/llvm-config"
"-DLLVM_BUILD_TESTS=ON"
"-DCLANG_INCLUDE_TESTS=ON"
] ++ (stdenv.lib.optional stdenv.isLinux
# necessary for clang to find crtend.o
"-DGCC_INSTALL_PREFIX=${gccForLibs}"
);
enableParallelBuilding = true;
passthru = {
isClang = true;
};
meta = with stdenv.lib; {
homepage = "https://github.com/emscripten-core/emscripten-fastcomp";
description = "Emscripten LLVM";
platforms = platforms.all;
maintainers = with maintainers; [ qknight matthewbauer ];
license = stdenv.lib.licenses.ncsa;
};
}

View File

@ -0,0 +1,15 @@
{
"name": "emscripten",
"version": "2.0.1",
"private": true,
"devDependencies": {
"ws": "~0.4.28"
},
"dependencies": {
"google-closure-compiler": "20200224.0.0",
"html-minifier-terser": "5.0.2",
"source-map": "0.5.6",
"wasm2c": "1.0.0",
"acorn": "7.3.1"
}
}

View File

@ -0,0 +1,346 @@
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1
acorn@7.3.1:
version "7.3.1"
resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.3.1.tgz#85010754db53c3fbaf3b9ea3e083aa5c5d147ffd"
integrity sha512-tLc0wSnatxAQHVHUapaHdz72pi9KUyHjq5KyHjGg9Y8Ifdc79pTh2XvI6I1/chZbnM7QtNKzh66ooDogPZSleA==
ansi-styles@^3.2.1:
version "3.2.1"
resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d"
integrity sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==
dependencies:
color-convert "^1.9.0"
buffer-from@^1.0.0:
version "1.1.1"
resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.1.tgz#32713bc028f75c02fdb710d7c7bcec1f2c6070ef"
integrity sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==
camel-case@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/camel-case/-/camel-case-3.0.0.tgz#ca3c3688a4e9cf3a4cda777dc4dcbc713249cf73"
integrity sha1-yjw2iKTpzzpM2nd9xNy8cTJJz3M=
dependencies:
no-case "^2.2.0"
upper-case "^1.1.1"
chalk@2.x:
version "2.4.2"
resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424"
integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==
dependencies:
ansi-styles "^3.2.1"
escape-string-regexp "^1.0.5"
supports-color "^5.3.0"
clean-css@^4.2.1:
version "4.2.3"
resolved "https://registry.yarnpkg.com/clean-css/-/clean-css-4.2.3.tgz#507b5de7d97b48ee53d84adb0160ff6216380f78"
integrity sha512-VcMWDN54ZN/DS+g58HYL5/n4Zrqe8vHJpGA8KdgUXFU4fuP/aHNw8eld9SyEIyabIMJX/0RaY/fplOo5hYLSFA==
dependencies:
source-map "~0.6.0"
clone-buffer@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/clone-buffer/-/clone-buffer-1.0.0.tgz#e3e25b207ac4e701af721e2cb5a16792cac3dc58"
integrity sha1-4+JbIHrE5wGvch4staFnksrD3Fg=
clone-stats@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/clone-stats/-/clone-stats-1.0.0.tgz#b3782dff8bb5474e18b9b6bf0fdfe782f8777680"
integrity sha1-s3gt/4u1R04Yuba/D9/ngvh3doA=
clone@^2.1.1:
version "2.1.2"
resolved "https://registry.yarnpkg.com/clone/-/clone-2.1.2.tgz#1b7f4b9f591f1e8f83670401600345a02887435f"
integrity sha1-G39Ln1kfHo+DZwQBYANFoCiHQ18=
cloneable-readable@^1.0.0:
version "1.1.3"
resolved "https://registry.yarnpkg.com/cloneable-readable/-/cloneable-readable-1.1.3.tgz#120a00cb053bfb63a222e709f9683ea2e11d8cec"
integrity sha512-2EF8zTQOxYq70Y4XKtorQupqF0m49MBz2/yf5Bj+MHjvpG3Hy7sImifnqD6UA+TKYxeSV+u6qqQPawN5UvnpKQ==
dependencies:
inherits "^2.0.1"
process-nextick-args "^2.0.0"
readable-stream "^2.3.5"
color-convert@^1.9.0:
version "1.9.3"
resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8"
integrity sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==
dependencies:
color-name "1.1.3"
color-name@1.1.3:
version "1.1.3"
resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25"
integrity sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=
commander@^2.20.0:
version "2.20.3"
resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33"
integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==
commander@^4.0.0:
version "4.1.1"
resolved "https://registry.yarnpkg.com/commander/-/commander-4.1.1.tgz#9fd602bd936294e9e9ef46a3f4d6964044b18068"
integrity sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==
commander@~2.1.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/commander/-/commander-2.1.0.tgz#d121bbae860d9992a3d517ba96f56588e47c6781"
integrity sha1-0SG7roYNmZKj1Re6lvVliOR8Z4E=
core-util-is@~1.0.0:
version "1.0.2"
resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7"
integrity sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=
escape-string-regexp@^1.0.5:
version "1.0.5"
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4"
integrity sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=
google-closure-compiler-java@^20200224.0.0:
version "20200224.0.0"
resolved "https://registry.yarnpkg.com/google-closure-compiler-java/-/google-closure-compiler-java-20200224.0.0.tgz#03d71aefd0a07010fd8a7057d09c76f6729767bc"
integrity sha512-palFcDoScauZjWIsGDzMK6h+IctcRb55I3wJX8Ko/DTSz72xwadRdKm0lGt8OoYL7SKEO+IjgD7s8XrAGpLnlQ==
google-closure-compiler-js@^20200224.0.0:
version "20200224.0.0"
resolved "https://registry.yarnpkg.com/google-closure-compiler-js/-/google-closure-compiler-js-20200224.0.0.tgz#cf4b598abf7be686c683e530529756805b8af500"
integrity sha512-70VKN0kbnTRtu2dqxDjWZQGfEQIHj7b7oUUCsYPO5oEXCDfgxNc13oYUJXvrTONLRWlHCNl/I8FNrVOwZ3gY/g==
google-closure-compiler-linux@^20200224.0.0:
version "20200224.0.0"
resolved "https://registry.yarnpkg.com/google-closure-compiler-linux/-/google-closure-compiler-linux-20200224.0.0.tgz#d9608b224b4d8f38d4d34e99a24da54bca6b1902"
integrity sha512-/BaE889EPrXWOKJVolA9++e99xBDMzeFBf7zF7nBB8PUmU5DlvtsoLL82xnT6nbZC1ktHaETlVx+vYGju8zKBQ==
google-closure-compiler-osx@^20200224.0.0:
version "20200224.0.0"
resolved "https://registry.yarnpkg.com/google-closure-compiler-osx/-/google-closure-compiler-osx-20200224.0.0.tgz#aee62d8b878a662fc73b92419603168c0c3a35ed"
integrity sha512-WXVNW9nPUqjvCe38mUIlBGEPVPCTKLtdaXC+q+kQdonkJFHNrpdyYWa746Y8cNP/byQyDNpPsqcKseZTLh17sQ==
google-closure-compiler-windows@^20200224.0.0:
version "20200224.0.0"
resolved "https://registry.yarnpkg.com/google-closure-compiler-windows/-/google-closure-compiler-windows-20200224.0.0.tgz#cae323b898625ca57b0e87aaddde021a414dda58"
integrity sha512-l6w2D8r9+GC9CQTAYEMAuNI996Zb6YV5qG7+FR0gCoL6h6S3Mc7mi87bafgwaicsVcmmHE/9kCBuW4ZyTMs5Fg==
google-closure-compiler@20200224.0.0:
version "20200224.0.0"
resolved "https://registry.yarnpkg.com/google-closure-compiler/-/google-closure-compiler-20200224.0.0.tgz#ec0e708d9716a48e12fff43fe37fa5cec732a283"
integrity sha512-V81dRYygdHbZtOtU16VX26xAdJBB1UZyfSg3OTzdNl3l/xEIx1D/L7TYUqjeTXsxcy+JruJ/UfUlIJAOaMRTog==
dependencies:
chalk "2.x"
google-closure-compiler-java "^20200224.0.0"
google-closure-compiler-js "^20200224.0.0"
minimist "1.x"
vinyl "2.x"
vinyl-sourcemaps-apply "^0.2.0"
optionalDependencies:
google-closure-compiler-linux "^20200224.0.0"
google-closure-compiler-osx "^20200224.0.0"
google-closure-compiler-windows "^20200224.0.0"
has-flag@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd"
integrity sha1-tdRU3CGZriJWmfNGfloH87lVuv0=
he@^1.2.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/he/-/he-1.2.0.tgz#84ae65fa7eafb165fddb61566ae14baf05664f0f"
integrity sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==
html-minifier-terser@5.0.2:
version "5.0.2"
resolved "https://registry.yarnpkg.com/html-minifier-terser/-/html-minifier-terser-5.0.2.tgz#0e67a0b062ae1dd0719fc73199479298f807ae16"
integrity sha512-VAaitmbBuHaPKv9bj47XKypRhgDxT/cDLvsPiiF7w+omrN3K0eQhpigV9Z1ilrmHa9e0rOYcD6R/+LCDADGcnQ==
dependencies:
camel-case "^3.0.0"
clean-css "^4.2.1"
commander "^4.0.0"
he "^1.2.0"
param-case "^2.1.1"
relateurl "^0.2.7"
terser "^4.3.9"
inherits@^2.0.1, inherits@~2.0.3:
version "2.0.4"
resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c"
integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==
isarray@~1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11"
integrity sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=
lower-case@^1.1.1:
version "1.1.4"
resolved "https://registry.yarnpkg.com/lower-case/-/lower-case-1.1.4.tgz#9a2cabd1b9e8e0ae993a4bf7d5875c39c42e8eac"
integrity sha1-miyr0bno4K6ZOkv31YdcOcQujqw=
minimist@1.x:
version "1.2.5"
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.5.tgz#67d66014b66a6a8aaa0c083c5fd58df4e4e97602"
integrity sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==
nan@~1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/nan/-/nan-1.0.0.tgz#ae24f8850818d662fcab5acf7f3b95bfaa2ccf38"
integrity sha1-riT4hQgY1mL8q1rPfzuVv6oszzg=
no-case@^2.2.0:
version "2.3.2"
resolved "https://registry.yarnpkg.com/no-case/-/no-case-2.3.2.tgz#60b813396be39b3f1288a4c1ed5d1e7d28b464ac"
integrity sha512-rmTZ9kz+f3rCvK2TD1Ue/oZlns7OGoIWP4fc3llxxRXlOkHKoWPPWJOfFYpITabSow43QJbRIoHQXtt10VldyQ==
dependencies:
lower-case "^1.1.1"
options@>=0.0.5:
version "0.0.6"
resolved "https://registry.yarnpkg.com/options/-/options-0.0.6.tgz#ec22d312806bb53e731773e7cdaefcf1c643128f"
integrity sha1-7CLTEoBrtT5zF3Pnza788cZDEo8=
param-case@^2.1.1:
version "2.1.1"
resolved "https://registry.yarnpkg.com/param-case/-/param-case-2.1.1.tgz#df94fd8cf6531ecf75e6bef9a0858fbc72be2247"
integrity sha1-35T9jPZTHs915r75oIWPvHK+Ikc=
dependencies:
no-case "^2.2.0"
process-nextick-args@^2.0.0, process-nextick-args@~2.0.0:
version "2.0.1"
resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.1.tgz#7820d9b16120cc55ca9ae7792680ae7dba6d7fe2"
integrity sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==
readable-stream@^2.3.5:
version "2.3.7"
resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.7.tgz#1eca1cf711aef814c04f62252a36a62f6cb23b57"
integrity sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==
dependencies:
core-util-is "~1.0.0"
inherits "~2.0.3"
isarray "~1.0.0"
process-nextick-args "~2.0.0"
safe-buffer "~5.1.1"
string_decoder "~1.1.1"
util-deprecate "~1.0.1"
relateurl@^0.2.7:
version "0.2.7"
resolved "https://registry.yarnpkg.com/relateurl/-/relateurl-0.2.7.tgz#54dbf377e51440aca90a4cd274600d3ff2d888a9"
integrity sha1-VNvzd+UUQKypCkzSdGANP/LYiKk=
remove-trailing-separator@^1.0.1:
version "1.1.0"
resolved "https://registry.yarnpkg.com/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz#c24bce2a283adad5bc3f58e0d48249b92379d8ef"
integrity sha1-wkvOKig62tW8P1jg1IJJuSN52O8=
replace-ext@^1.0.0:
version "1.0.1"
resolved "https://registry.yarnpkg.com/replace-ext/-/replace-ext-1.0.1.tgz#2d6d996d04a15855d967443631dd5f77825b016a"
integrity sha512-yD5BHCe7quCgBph4rMQ+0KkIRKwWCrHDOX1p1Gp6HwjPM5kVoCdKGNhN7ydqqsX6lJEnQDKZ/tFMiEdQ1dvPEw==
safe-buffer@~5.1.0, safe-buffer@~5.1.1:
version "5.1.2"
resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d"
integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==
source-map-support@~0.5.12:
version "0.5.19"
resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.19.tgz#a98b62f86dcaf4f67399648c085291ab9e8fed61"
integrity sha512-Wonm7zOCIJzBGQdB+thsPar0kYuCIzYvxZwlBa87yi/Mdjv7Tip2cyVbLj5o0cFPN4EVkuTwb3GDDyUx2DGnGw==
dependencies:
buffer-from "^1.0.0"
source-map "^0.6.0"
source-map@0.5.6:
version "0.5.6"
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.6.tgz#75ce38f52bf0733c5a7f0c118d81334a2bb5f412"
integrity sha1-dc449SvwczxafwwRjYEzSiu19BI=
source-map@^0.5.1:
version "0.5.7"
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc"
integrity sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=
source-map@^0.6.0, source-map@~0.6.0, source-map@~0.6.1:
version "0.6.1"
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263"
integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==
string_decoder@~1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.1.1.tgz#9cf1611ba62685d7030ae9e4ba34149c3af03fc8"
integrity sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==
dependencies:
safe-buffer "~5.1.0"
supports-color@^5.3.0:
version "5.5.0"
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f"
integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==
dependencies:
has-flag "^3.0.0"
terser@^4.3.9:
version "4.8.0"
resolved "https://registry.yarnpkg.com/terser/-/terser-4.8.0.tgz#63056343d7c70bb29f3af665865a46fe03a0df17"
integrity sha512-EAPipTNeWsb/3wLPeup1tVPaXfIaU68xMnVdPafIL1TV05OhASArYyIfFvnvJCNrR2NIOvDVNNTFRa+Re2MWyw==
dependencies:
commander "^2.20.0"
source-map "~0.6.1"
source-map-support "~0.5.12"
tinycolor@0.x:
version "0.0.1"
resolved "https://registry.yarnpkg.com/tinycolor/-/tinycolor-0.0.1.tgz#320b5a52d83abb5978d81a3e887d4aefb15a6164"
integrity sha1-MgtaUtg6u1l42Bo+iH1K77FaYWQ=
upper-case@^1.1.1:
version "1.1.3"
resolved "https://registry.yarnpkg.com/upper-case/-/upper-case-1.1.3.tgz#f6b4501c2ec4cdd26ba78be7222961de77621598"
integrity sha1-9rRQHC7EzdJrp4vnIilh3ndiFZg=
util-deprecate@~1.0.1:
version "1.0.2"
resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf"
integrity sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=
vinyl-sourcemaps-apply@^0.2.0:
version "0.2.1"
resolved "https://registry.yarnpkg.com/vinyl-sourcemaps-apply/-/vinyl-sourcemaps-apply-0.2.1.tgz#ab6549d61d172c2b1b87be5c508d239c8ef87705"
integrity sha1-q2VJ1h0XLCsbh75cUI0jnI74dwU=
dependencies:
source-map "^0.5.1"
vinyl@2.x:
version "2.2.0"
resolved "https://registry.yarnpkg.com/vinyl/-/vinyl-2.2.0.tgz#d85b07da96e458d25b2ffe19fece9f2caa13ed86"
integrity sha512-MBH+yP0kC/GQ5GwBqrTPTzEfiiLjta7hTtvQtbxBgTeSXsmKQRQecjibMbxIXzVT3Y9KJK+drOz1/k+vsu8Nkg==
dependencies:
clone "^2.1.1"
clone-buffer "^1.0.0"
clone-stats "^1.0.0"
cloneable-readable "^1.0.0"
remove-trailing-separator "^1.0.1"
replace-ext "^1.0.0"
wasm2c@1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/wasm2c/-/wasm2c-1.0.0.tgz#761671e141c46b8a7c6c54429db1e6bfa3cd0ec0"
integrity sha512-4SIESF2JNxrry6XFa/UQcsQibn+bxPkQ/oqixiXz2o8fsMl8J4vtvhH/evgbi8vZajAlaukuihEcQTWb9tVLUA==
ws@~0.4.28:
version "0.4.32"
resolved "https://registry.yarnpkg.com/ws/-/ws-0.4.32.tgz#787a6154414f3c99ed83c5772153b20feb0cec32"
integrity sha1-eHphVEFPPJntg8V3IVOyD+sM7DI=
dependencies:
commander "~2.1.0"
nan "~1.0.0"
options ">=0.0.5"
tinycolor "0.x"

View File

@ -0,0 +1,437 @@
{ fetchurl, fetchgit, linkFarm, runCommandNoCC, gnutar }: rec {
offline_cache = linkFarm "offline" packages;
packages = [
{
name = "acorn___acorn_7.3.1.tgz";
path = fetchurl {
name = "acorn___acorn_7.3.1.tgz";
url = "https://registry.yarnpkg.com/acorn/-/acorn-7.3.1.tgz";
sha1 = "85010754db53c3fbaf3b9ea3e083aa5c5d147ffd";
};
}
{
name = "ansi_styles___ansi_styles_3.2.1.tgz";
path = fetchurl {
name = "ansi_styles___ansi_styles_3.2.1.tgz";
url = "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz";
sha1 = "41fbb20243e50b12be0f04b8dedbf07520ce841d";
};
}
{
name = "buffer_from___buffer_from_1.1.1.tgz";
path = fetchurl {
name = "buffer_from___buffer_from_1.1.1.tgz";
url = "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.1.tgz";
sha1 = "32713bc028f75c02fdb710d7c7bcec1f2c6070ef";
};
}
{
name = "camel_case___camel_case_3.0.0.tgz";
path = fetchurl {
name = "camel_case___camel_case_3.0.0.tgz";
url = "https://registry.yarnpkg.com/camel-case/-/camel-case-3.0.0.tgz";
sha1 = "ca3c3688a4e9cf3a4cda777dc4dcbc713249cf73";
};
}
{
name = "chalk___chalk_2.4.2.tgz";
path = fetchurl {
name = "chalk___chalk_2.4.2.tgz";
url = "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz";
sha1 = "cd42541677a54333cf541a49108c1432b44c9424";
};
}
{
name = "clean_css___clean_css_4.2.3.tgz";
path = fetchurl {
name = "clean_css___clean_css_4.2.3.tgz";
url = "https://registry.yarnpkg.com/clean-css/-/clean-css-4.2.3.tgz";
sha1 = "507b5de7d97b48ee53d84adb0160ff6216380f78";
};
}
{
name = "clone_buffer___clone_buffer_1.0.0.tgz";
path = fetchurl {
name = "clone_buffer___clone_buffer_1.0.0.tgz";
url = "https://registry.yarnpkg.com/clone-buffer/-/clone-buffer-1.0.0.tgz";
sha1 = "e3e25b207ac4e701af721e2cb5a16792cac3dc58";
};
}
{
name = "clone_stats___clone_stats_1.0.0.tgz";
path = fetchurl {
name = "clone_stats___clone_stats_1.0.0.tgz";
url = "https://registry.yarnpkg.com/clone-stats/-/clone-stats-1.0.0.tgz";
sha1 = "b3782dff8bb5474e18b9b6bf0fdfe782f8777680";
};
}
{
name = "clone___clone_2.1.2.tgz";
path = fetchurl {
name = "clone___clone_2.1.2.tgz";
url = "https://registry.yarnpkg.com/clone/-/clone-2.1.2.tgz";
sha1 = "1b7f4b9f591f1e8f83670401600345a02887435f";
};
}
{
name = "cloneable_readable___cloneable_readable_1.1.3.tgz";
path = fetchurl {
name = "cloneable_readable___cloneable_readable_1.1.3.tgz";
url = "https://registry.yarnpkg.com/cloneable-readable/-/cloneable-readable-1.1.3.tgz";
sha1 = "120a00cb053bfb63a222e709f9683ea2e11d8cec";
};
}
{
name = "color_convert___color_convert_1.9.3.tgz";
path = fetchurl {
name = "color_convert___color_convert_1.9.3.tgz";
url = "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.3.tgz";
sha1 = "bb71850690e1f136567de629d2d5471deda4c1e8";
};
}
{
name = "color_name___color_name_1.1.3.tgz";
path = fetchurl {
name = "color_name___color_name_1.1.3.tgz";
url = "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz";
sha1 = "a7d0558bd89c42f795dd42328f740831ca53bc25";
};
}
{
name = "commander___commander_2.20.3.tgz";
path = fetchurl {
name = "commander___commander_2.20.3.tgz";
url = "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz";
sha1 = "fd485e84c03eb4881c20722ba48035e8531aeb33";
};
}
{
name = "commander___commander_4.1.1.tgz";
path = fetchurl {
name = "commander___commander_4.1.1.tgz";
url = "https://registry.yarnpkg.com/commander/-/commander-4.1.1.tgz";
sha1 = "9fd602bd936294e9e9ef46a3f4d6964044b18068";
};
}
{
name = "commander___commander_2.1.0.tgz";
path = fetchurl {
name = "commander___commander_2.1.0.tgz";
url = "https://registry.yarnpkg.com/commander/-/commander-2.1.0.tgz";
sha1 = "d121bbae860d9992a3d517ba96f56588e47c6781";
};
}
{
name = "core_util_is___core_util_is_1.0.2.tgz";
path = fetchurl {
name = "core_util_is___core_util_is_1.0.2.tgz";
url = "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz";
sha1 = "b5fd54220aa2bc5ab57aab7140c940754503c1a7";
};
}
{
name = "escape_string_regexp___escape_string_regexp_1.0.5.tgz";
path = fetchurl {
name = "escape_string_regexp___escape_string_regexp_1.0.5.tgz";
url = "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz";
sha1 = "1b61c0562190a8dff6ae3bb2cf0200ca130b86d4";
};
}
{
name = "google_closure_compiler_java___google_closure_compiler_java_20200224.0.0.tgz";
path = fetchurl {
name = "google_closure_compiler_java___google_closure_compiler_java_20200224.0.0.tgz";
url = "https://registry.yarnpkg.com/google-closure-compiler-java/-/google-closure-compiler-java-20200224.0.0.tgz";
sha1 = "03d71aefd0a07010fd8a7057d09c76f6729767bc";
};
}
{
name = "google_closure_compiler_js___google_closure_compiler_js_20200224.0.0.tgz";
path = fetchurl {
name = "google_closure_compiler_js___google_closure_compiler_js_20200224.0.0.tgz";
url = "https://registry.yarnpkg.com/google-closure-compiler-js/-/google-closure-compiler-js-20200224.0.0.tgz";
sha1 = "cf4b598abf7be686c683e530529756805b8af500";
};
}
{
name = "google_closure_compiler_linux___google_closure_compiler_linux_20200224.0.0.tgz";
path = fetchurl {
name = "google_closure_compiler_linux___google_closure_compiler_linux_20200224.0.0.tgz";
url = "https://registry.yarnpkg.com/google-closure-compiler-linux/-/google-closure-compiler-linux-20200224.0.0.tgz";
sha1 = "d9608b224b4d8f38d4d34e99a24da54bca6b1902";
};
}
{
name = "google_closure_compiler_osx___google_closure_compiler_osx_20200224.0.0.tgz";
path = fetchurl {
name = "google_closure_compiler_osx___google_closure_compiler_osx_20200224.0.0.tgz";
url = "https://registry.yarnpkg.com/google-closure-compiler-osx/-/google-closure-compiler-osx-20200224.0.0.tgz";
sha1 = "aee62d8b878a662fc73b92419603168c0c3a35ed";
};
}
{
name = "google_closure_compiler_windows___google_closure_compiler_windows_20200224.0.0.tgz";
path = fetchurl {
name = "google_closure_compiler_windows___google_closure_compiler_windows_20200224.0.0.tgz";
url = "https://registry.yarnpkg.com/google-closure-compiler-windows/-/google-closure-compiler-windows-20200224.0.0.tgz";
sha1 = "cae323b898625ca57b0e87aaddde021a414dda58";
};
}
{
name = "google_closure_compiler___google_closure_compiler_20200224.0.0.tgz";
path = fetchurl {
name = "google_closure_compiler___google_closure_compiler_20200224.0.0.tgz";
url = "https://registry.yarnpkg.com/google-closure-compiler/-/google-closure-compiler-20200224.0.0.tgz";
sha1 = "ec0e708d9716a48e12fff43fe37fa5cec732a283";
};
}
{
name = "has_flag___has_flag_3.0.0.tgz";
path = fetchurl {
name = "has_flag___has_flag_3.0.0.tgz";
url = "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz";
sha1 = "b5d454dc2199ae225699f3467e5a07f3b955bafd";
};
}
{
name = "he___he_1.2.0.tgz";
path = fetchurl {
name = "he___he_1.2.0.tgz";
url = "https://registry.yarnpkg.com/he/-/he-1.2.0.tgz";
sha1 = "84ae65fa7eafb165fddb61566ae14baf05664f0f";
};
}
{
name = "html_minifier_terser___html_minifier_terser_5.0.2.tgz";
path = fetchurl {
name = "html_minifier_terser___html_minifier_terser_5.0.2.tgz";
url = "https://registry.yarnpkg.com/html-minifier-terser/-/html-minifier-terser-5.0.2.tgz";
sha1 = "0e67a0b062ae1dd0719fc73199479298f807ae16";
};
}
{
name = "inherits___inherits_2.0.4.tgz";
path = fetchurl {
name = "inherits___inherits_2.0.4.tgz";
url = "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz";
sha1 = "0fa2c64f932917c3433a0ded55363aae37416b7c";
};
}
{
name = "isarray___isarray_1.0.0.tgz";
path = fetchurl {
name = "isarray___isarray_1.0.0.tgz";
url = "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz";
sha1 = "bb935d48582cba168c06834957a54a3e07124f11";
};
}
{
name = "lower_case___lower_case_1.1.4.tgz";
path = fetchurl {
name = "lower_case___lower_case_1.1.4.tgz";
url = "https://registry.yarnpkg.com/lower-case/-/lower-case-1.1.4.tgz";
sha1 = "9a2cabd1b9e8e0ae993a4bf7d5875c39c42e8eac";
};
}
{
name = "minimist___minimist_1.2.5.tgz";
path = fetchurl {
name = "minimist___minimist_1.2.5.tgz";
url = "https://registry.yarnpkg.com/minimist/-/minimist-1.2.5.tgz";
sha1 = "67d66014b66a6a8aaa0c083c5fd58df4e4e97602";
};
}
{
name = "nan___nan_1.0.0.tgz";
path = fetchurl {
name = "nan___nan_1.0.0.tgz";
url = "https://registry.yarnpkg.com/nan/-/nan-1.0.0.tgz";
sha1 = "ae24f8850818d662fcab5acf7f3b95bfaa2ccf38";
};
}
{
name = "no_case___no_case_2.3.2.tgz";
path = fetchurl {
name = "no_case___no_case_2.3.2.tgz";
url = "https://registry.yarnpkg.com/no-case/-/no-case-2.3.2.tgz";
sha1 = "60b813396be39b3f1288a4c1ed5d1e7d28b464ac";
};
}
{
name = "options___options_0.0.6.tgz";
path = fetchurl {
name = "options___options_0.0.6.tgz";
url = "https://registry.yarnpkg.com/options/-/options-0.0.6.tgz";
sha1 = "ec22d312806bb53e731773e7cdaefcf1c643128f";
};
}
{
name = "param_case___param_case_2.1.1.tgz";
path = fetchurl {
name = "param_case___param_case_2.1.1.tgz";
url = "https://registry.yarnpkg.com/param-case/-/param-case-2.1.1.tgz";
sha1 = "df94fd8cf6531ecf75e6bef9a0858fbc72be2247";
};
}
{
name = "process_nextick_args___process_nextick_args_2.0.1.tgz";
path = fetchurl {
name = "process_nextick_args___process_nextick_args_2.0.1.tgz";
url = "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.1.tgz";
sha1 = "7820d9b16120cc55ca9ae7792680ae7dba6d7fe2";
};
}
{
name = "readable_stream___readable_stream_2.3.7.tgz";
path = fetchurl {
name = "readable_stream___readable_stream_2.3.7.tgz";
url = "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.7.tgz";
sha1 = "1eca1cf711aef814c04f62252a36a62f6cb23b57";
};
}
{
name = "relateurl___relateurl_0.2.7.tgz";
path = fetchurl {
name = "relateurl___relateurl_0.2.7.tgz";
url = "https://registry.yarnpkg.com/relateurl/-/relateurl-0.2.7.tgz";
sha1 = "54dbf377e51440aca90a4cd274600d3ff2d888a9";
};
}
{
name = "remove_trailing_separator___remove_trailing_separator_1.1.0.tgz";
path = fetchurl {
name = "remove_trailing_separator___remove_trailing_separator_1.1.0.tgz";
url = "https://registry.yarnpkg.com/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz";
sha1 = "c24bce2a283adad5bc3f58e0d48249b92379d8ef";
};
}
{
name = "replace_ext___replace_ext_1.0.1.tgz";
path = fetchurl {
name = "replace_ext___replace_ext_1.0.1.tgz";
url = "https://registry.yarnpkg.com/replace-ext/-/replace-ext-1.0.1.tgz";
sha1 = "2d6d996d04a15855d967443631dd5f77825b016a";
};
}
{
name = "safe_buffer___safe_buffer_5.1.2.tgz";
path = fetchurl {
name = "safe_buffer___safe_buffer_5.1.2.tgz";
url = "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz";
sha1 = "991ec69d296e0313747d59bdfd2b745c35f8828d";
};
}
{
name = "source_map_support___source_map_support_0.5.19.tgz";
path = fetchurl {
name = "source_map_support___source_map_support_0.5.19.tgz";
url = "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.19.tgz";
sha1 = "a98b62f86dcaf4f67399648c085291ab9e8fed61";
};
}
{
name = "source_map___source_map_0.5.6.tgz";
path = fetchurl {
name = "source_map___source_map_0.5.6.tgz";
url = "https://registry.yarnpkg.com/source-map/-/source-map-0.5.6.tgz";
sha1 = "75ce38f52bf0733c5a7f0c118d81334a2bb5f412";
};
}
{
name = "source_map___source_map_0.5.7.tgz";
path = fetchurl {
name = "source_map___source_map_0.5.7.tgz";
url = "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz";
sha1 = "8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc";
};
}
{
name = "source_map___source_map_0.6.1.tgz";
path = fetchurl {
name = "source_map___source_map_0.6.1.tgz";
url = "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz";
sha1 = "74722af32e9614e9c287a8d0bbde48b5e2f1a263";
};
}
{
name = "string_decoder___string_decoder_1.1.1.tgz";
path = fetchurl {
name = "string_decoder___string_decoder_1.1.1.tgz";
url = "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.1.1.tgz";
sha1 = "9cf1611ba62685d7030ae9e4ba34149c3af03fc8";
};
}
{
name = "supports_color___supports_color_5.5.0.tgz";
path = fetchurl {
name = "supports_color___supports_color_5.5.0.tgz";
url = "https://registry.yarnpkg.com/supports-color/-/supports-color-5.5.0.tgz";
sha1 = "e2e69a44ac8772f78a1ec0b35b689df6530efc8f";
};
}
{
name = "terser___terser_4.8.0.tgz";
path = fetchurl {
name = "terser___terser_4.8.0.tgz";
url = "https://registry.yarnpkg.com/terser/-/terser-4.8.0.tgz";
sha1 = "63056343d7c70bb29f3af665865a46fe03a0df17";
};
}
{
name = "tinycolor___tinycolor_0.0.1.tgz";
path = fetchurl {
name = "tinycolor___tinycolor_0.0.1.tgz";
url = "https://registry.yarnpkg.com/tinycolor/-/tinycolor-0.0.1.tgz";
sha1 = "320b5a52d83abb5978d81a3e887d4aefb15a6164";
};
}
{
name = "upper_case___upper_case_1.1.3.tgz";
path = fetchurl {
name = "upper_case___upper_case_1.1.3.tgz";
url = "https://registry.yarnpkg.com/upper-case/-/upper-case-1.1.3.tgz";
sha1 = "f6b4501c2ec4cdd26ba78be7222961de77621598";
};
}
{
name = "util_deprecate___util_deprecate_1.0.2.tgz";
path = fetchurl {
name = "util_deprecate___util_deprecate_1.0.2.tgz";
url = "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz";
sha1 = "450d4dc9fa70de732762fbd2d4a28981419a0ccf";
};
}
{
name = "vinyl_sourcemaps_apply___vinyl_sourcemaps_apply_0.2.1.tgz";
path = fetchurl {
name = "vinyl_sourcemaps_apply___vinyl_sourcemaps_apply_0.2.1.tgz";
url = "https://registry.yarnpkg.com/vinyl-sourcemaps-apply/-/vinyl-sourcemaps-apply-0.2.1.tgz";
sha1 = "ab6549d61d172c2b1b87be5c508d239c8ef87705";
};
}
{
name = "vinyl___vinyl_2.2.0.tgz";
path = fetchurl {
name = "vinyl___vinyl_2.2.0.tgz";
url = "https://registry.yarnpkg.com/vinyl/-/vinyl-2.2.0.tgz";
sha1 = "d85b07da96e458d25b2ffe19fece9f2caa13ed86";
};
}
{
name = "wasm2c___wasm2c_1.0.0.tgz";
path = fetchurl {
name = "wasm2c___wasm2c_1.0.0.tgz";
url = "https://registry.yarnpkg.com/wasm2c/-/wasm2c-1.0.0.tgz";
sha1 = "761671e141c46b8a7c6c54429db1e6bfa3cd0ec0";
};
}
{
name = "ws___ws_0.4.32.tgz";
path = fetchurl {
name = "ws___ws_0.4.32.tgz";
url = "https://registry.yarnpkg.com/ws/-/ws-0.4.32.tgz";
sha1 = "787a6154414f3c99ed83c5772153b20feb0cec32";
};
}
];
}

View File

@ -55,13 +55,16 @@ in rustPlatform.buildRustPackage {
# needed for the tests
rm -rf test/fixtures/grammars
ln -s ${grammars} test/fixtures/grammars
# These functions do not appear in the source code
sed -i /_ts_query_context/d lib/binding_web/exports.json
sed -i /___assert_fail/d lib/binding_web/exports.json
'';
# Compile web assembly with emscripten. The --debug flag prevents us from
# minifying the JavaScript; passing it allows us to side-step more Node
# JS dependencies for installation.
preBuild = ''
HOME=/tmp
bash ./script/build-wasm --debug
'';

View File

@ -3372,14 +3372,8 @@ in
cholmod-extra = callPackage ../development/libraries/science/math/cholmod-extra { };
emscriptenVersion = "1.39.1";
emscripten = callPackage ../development/compilers/emscripten { };
emscriptenfastcompPackages = dontRecurseIntoAttrs (callPackage ../development/compilers/emscripten/fastcomp { });
emscriptenfastcomp = emscriptenfastcompPackages.emscriptenfastcomp;
emscriptenPackages = recurseIntoAttrs (callPackage ./emscripten-packages.nix { });
emscriptenStdenv = stdenv // { mkDerivation = buildEmscriptenPackage; };
@ -4586,7 +4580,7 @@ in
isync = callPackage ../tools/networking/isync { };
itm-tools = callPackage ../development/tools/misc/itm-tools { };
itm-tools = callPackage ../development/tools/misc/itm-tools { };
ix = callPackage ../tools/misc/ix { };
@ -4891,7 +4885,7 @@ in
asciidoc = asciidoc-full;
imagemagick = imagemagick7Big;
};
kristall = libsForQt5.callPackage ../applications/networking/browsers/kristall { };
kzipmix = pkgsi686Linux.callPackage ../tools/compression/kzipmix { };
@ -8123,6 +8117,7 @@ in
inherit (yarn2nix-moretea)
yarn2nix
mkYarnPackage
mkYarnModules
fixup_yarn_lock;
yasr = callPackage ../applications/audio/yasr { };
@ -21004,7 +20999,7 @@ in
i3-wk-switch = callPackage ../applications/window-managers/i3/wk-switch.nix { };
windowchef = callPackage ../applications/window-managers/windowchef/default.nix { };
wmfocus = callPackage ../applications/window-managers/i3/wmfocus.nix { };
wmfs = callPackage ../applications/window-managers/wmfs/default.nix { };
@ -27561,7 +27556,7 @@ in
sequeler = callPackage ../applications/misc/sequeler { };
sequelpro = callPackage ../applications/misc/sequelpro {};
snowsql = callPackage ../applications/misc/snowsql {};
sidequest = callPackage ../applications/misc/sidequest {};