gnu: Add node-bindings.

* gnu/packages/node-xyz.scm (node-bindings): New variable.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
This commit is contained in:
Philip McGrath 2022-01-08 03:42:15 -05:00 committed by Liliana Marie Prikler
parent e6ef40bef2
commit 12e0556369
No known key found for this signature in database
GPG key ID: 442A84B8C70E2F87

View file

@ -868,3 +868,28 @@ (define-public node-file-uri-to-path
URI to a file path. It accepts a @code{file:} URI and returns a file path
suitable for use with the @code{fs} module functions.")
(license license:expat)))
(define-public node-bindings
(package
(name "node-bindings")
(version "1.5.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/TooTallNate/node-bindings")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32 "100gp6kpjvd4j1dqnp0sbjr1hqx5mz7r61q9qy527jyhk9mj47wk"))))
(inputs
(list node-file-uri-to-path))
(build-system node-build-system)
(arguments
;; there are no tests
`(#:tests? #f))
(home-page "https://github.com/TooTallNate/node-bindings")
(synopsis "Locate native addons")
(description "This package provides a helper module to locate native
addons in a wide array of potential locations.")
(license license:expat)))