guix-patches
[Top][All Lists]
Advanced

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

[bug#68941] [PATCH 03/44] gnu: Add node-function-bind.


From: Nicolas Graves
Subject: [bug#68941] [PATCH 03/44] gnu: Add node-function-bind.
Date: Tue, 6 Feb 2024 00:18:51 +0100

* gnu/packages/node-xyz.scm (node-function-bind): New variable.
---
 gnu/packages/node-xyz.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index 36fa575049..a8607bd8b4 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -459,6 +459,38 @@ (define-public node-file-uri-to-path
 suitable for use with the @code{fs} module functions.")
     (license license:expat)))
 
+(define-public node-function-bind
+  (package
+    (name "node-function-bind")
+    (version "1.1.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/Raynos/function-bind";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "19dcz6b3xs4hfxmjzr6b52r0rj3yziw8spzq4xpwnmggwyks7nm6"))))
+    (build-system node-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'patch-dependencies 'delete-dependencies
+           (lambda args
+             (delete-dependencies
+              '("@ljharb/eslint-config"
+                "covert"
+                "eslint"
+                "jscs"
+                "tape")))))
+       #:tests? #f))
+    (home-page "https://github.com/Raynos/function-bind";)
+    (synopsis "Implementation of function.prototype.bind")
+    (description "This package provides a robust implementation of the
+Function.prototype.bind Javascript function.")
+    (license license:expat)))
+
 (define-public node-global-gradle-clean
   (package
     (name "node-global-gradle-clean")
-- 
2.41.0






reply via email to

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