guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#71581] [PATCH 06/10] gnu: Remove node-llparse-builder-bootstrap.


From: Ashvith Shetty
Subject: [bug#71581] [PATCH 06/10] gnu: Remove node-llparse-builder-bootstrap.
Date: Tue, 18 Jun 2024 18:08:08 +0530

* gnu/packages/node.scm (node-llparse-builder-bootstrap): Delete variable.

Change-Id: I397762b1a0a0d3d249ad78633360b77d7c12cc9e
---
 gnu/packages/node.scm | 70 -------------------------------------------
 1 file changed, 70 deletions(-)

diff --git a/gnu/packages/node.scm b/gnu/packages/node.scm
index 923332d518..f984790678 100644
--- a/gnu/packages/node.scm
+++ b/gnu/packages/node.scm
@@ -439,76 +439,6 @@ (define-public node-debug-bootstrap
 Node.js and web browsers.")
     (license license:expat)))
 
-(define-public node-llparse-builder-bootstrap
-  (package
-    (name "node-llparse-builder")
-    (version "1.5.2")
-    (source
-     (origin
-       (method git-fetch)
-       (uri (git-reference
-             (url "https://github.com/indutny/llparse-builder.git";)
-             (commit (string-append "v" version))))
-       (file-name (git-file-name name version))
-       (sha256
-        (base32
-         "0r82iiwqsb73k2fxw7842rjjiixllxpyc6yl9cq4ma6ybkf6xmzm"))
-       (modules '((guix build utils)))
-       (snippet
-        '(begin
-           ;; FIXME: Unneeded runtime dependency.
-           ;; https://github.com/indutny/llparse-builder/pull/2
-           (substitute* "package.json"
-             (("\"@types/debug.*,") ""))
-           ;; Fix imports for esbuild.
-           ;; https://github.com/evanw/esbuild/issues/477
-           (substitute* '("src/node/invoke.ts"
-                          "src/node/base.ts"
-                          "src/node/consume.ts"
-                          "src/node/match.ts"
-                          "src/node/error.ts"
-                          "src/node/pause.ts"
-                          "src/edge.ts"
-                          "src/utils.ts"
-                          "src/loop-checker/index.ts"
-                          "src/loop-checker/lattice.ts"
-                          "src/code/field.ts"
-                          "src/span-allocator.ts")
-             (("\\* as assert") "assert")
-             (("\\* as debugAPI") "debugAPI"))
-           #t))))
-    (build-system node-build-system)
-    (arguments
-     `(#:node ,node-bootstrap
-       #:tests? #f
-       #:phases
-       (modify-phases %standard-phases
-         (add-after 'patch-dependencies 'delete-dependencies
-           (lambda _
-             (delete-dependencies `("@types/mocha"
-                                    "@types/node"
-                                    "mocha"
-                                    "ts-node"
-                                    "tslint"
-                                    "typescript"))))
-         (replace 'build
-           (lambda* (#:key inputs #:allow-other-keys)
-             (let ((esbuild (search-input-file inputs "/bin/esbuild")))
-               (invoke esbuild
-                       "--platform=node"
-                       "--outfile=lib/builder.js"
-                       "--bundle"
-                       "src/builder.ts")))))))
-    (inputs
-     (list node-binary-search-bootstrap node-debug-bootstrap))
-    (native-inputs
-     (list esbuild))
-    (home-page "https://github.com/indutny/llparse-builder#readme";)
-    (properties '((hidden? . #t)))
-    (synopsis "Graph builder for consumption by llparse")
-    (description "This package builds graphs for consumption by llparse.")
-    (license license:expat)))
-
 (define-public llhttp-bootstrap
   (package
     (inherit llhttp)
-- 
2.45.1






reply via email to

[Prev in Thread] Current Thread [Next in Thread]