GNU bug report logs - #68941
[PATCH 00/44] Node : a solution for tiny packages.

Previous Next

Package: guix-patches;

Reported by: Nicolas Graves <ngraves <at> ngraves.fr>

Date: Mon, 5 Feb 2024 23:17:02 UTC

Severity: normal

Tags: patch

Full log


Message #160 received at 68941 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 68941 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH v2 03/44] gnu: Add node-function-bind.
Date: Thu,  8 Feb 2024 01:24:26 +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





This bug report was last modified 1 year and 13 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.