GNU bug report logs - #67664
[PATCH] gnu: Add node-normalize-path.

Previous Next

Package: guix-patches;

Reported by: Rikard Nordgren <hrn <at> posteo.net>

Date: Wed, 6 Dec 2023 19:13:01 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 67664 in the body.
You can then email your comments to 67664 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#67664; Package guix-patches. (Wed, 06 Dec 2023 19:13:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Rikard Nordgren <hrn <at> posteo.net>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Wed, 06 Dec 2023 19:13:02 GMT) Full text and rfc822 format available.

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

From: Rikard Nordgren <hrn <at> posteo.net>
To: guix-patches <at> gnu.org
Cc: hrn <at> posteo.net
Subject: [PATCH] gnu: Add node-normalize-path.
Date: Wed,  6 Dec 2023 19:11:08 +0000
* gnu/packages/node-xyz.scm (node-normalize-path): New variable.

Change-Id: I9afbede1f16ed1157fed95d3925b97945a73c91b
---
 gnu/packages/node-xyz.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index 6c16417309..9eb8595add 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -347,6 +347,35 @@ (define-public node-minimist
 Javascript.")
     (license license:expat)))
 
+(define-public node-normalize-path
+  (package
+    (name "node-normalize-path")
+    (version "3.0.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/jonschlinkert/normalize-path")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1l079szbgw2b9i5zx6zbwvxiivssa55a4pwfy4m7n6rdkcmsxf7f"))))
+    (build-system node-build-system)
+    (arguments
+     '(#:tests? #f
+       #:phases (modify-phases %standard-phases
+                  (add-after 'patch-dependencies 'delete-dependencies
+                    (lambda _
+                      (delete-dependencies '("gulp-format-md" "mocha")))))))
+    (native-inputs (list node-minimist))
+    (home-page "https://github.com/jonschlinkert/normalize-path")
+    (synopsis "Normalize slashes in a file path")
+    (description
+     "Normalize slashes in a file path to be POSIX/Unix-like forward slashes.
+Can also condense repeated slashes to a single slash and remove trailing
+slashes, unless disabled.")
+    (license license:expat)))
+
 (define-public node-oop
   ;; No releases, last commit was February 2013.
   (let ((commit "f9d87cda0958886955c14a0a716e57021ed295dc")

base-commit: 23627b1706af25a0a30b96b9169a3495279aff1b
-- 
2.34.1





Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Fri, 22 Dec 2023 16:42:02 GMT) Full text and rfc822 format available.

Notification sent to Rikard Nordgren <hrn <at> posteo.net>:
bug acknowledged by developer. (Fri, 22 Dec 2023 16:42:02 GMT) Full text and rfc822 format available.

Message #10 received at 67664-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Rikard Nordgren <hrn <at> posteo.net>
Cc: 67664-done <at> debbugs.gnu.org
Subject: Re: [bug#67664] [PATCH] gnu: Add node-normalize-path.
Date: Fri, 22 Dec 2023 17:41:07 +0100
Rikard Nordgren <hrn <at> posteo.net> skribis:

> * gnu/packages/node-xyz.scm (node-normalize-path): New variable.
>
> Change-Id: I9afbede1f16ed1157fed95d3925b97945a73c91b

Applied, thanks!




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 20 Jan 2024 12:24:19 GMT) Full text and rfc822 format available.

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

Previous Next


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