mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-21 09:37:03 +01:00
gnu: Add node-normalize-path.
* gnu/packages/node-xyz.scm (node-normalize-path): New variable. Change-Id: I9afbede1f16ed1157fed95d3925b97945a73c91b Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
cd0b20582a
commit
76ed5ec9f7
1 changed files with 29 additions and 0 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue