emacs-bug-tracker
[Top][All Lists]
Advanced

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

bug#67664: closed ([PATCH] gnu: Add node-normalize-path.)


From: GNU bug Tracking System
Subject: bug#67664: closed ([PATCH] gnu: Add node-normalize-path.)
Date: Fri, 22 Dec 2023 16:42:02 +0000

Your message dated Fri, 22 Dec 2023 17:41:07 +0100
with message-id <87bkai9om4.fsf@gnu.org>
and subject line Re: [bug#67664] [PATCH] gnu: Add node-normalize-path.
has caused the debbugs.gnu.org bug report #67664,
regarding [PATCH] gnu: Add node-normalize-path.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
67664: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=67664
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- 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




--- End Message ---
--- Begin Message --- Subject: Re: [bug#67664] [PATCH] gnu: Add node-normalize-path. Date: Fri, 22 Dec 2023 17:41:07 +0100 User-agent: Gnus/5.13 (Gnus v5.13)
Rikard Nordgren <hrn@posteo.net> skribis:

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

Applied, thanks!


--- End Message ---

reply via email to

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