gnu: Add node-color-name.

* gnu/packages/node-xyz.scm (node-color-name): New variable.
This commit is contained in:
Efraim Flashner 2020-01-13 22:04:47 +02:00
parent 1c8d53f8c5
commit 317f925b7f
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -22,6 +22,27 @@ (define-module (gnu packages node-xyz)
#:use-module (guix git-download)
#:use-module (guix build-system node))
(define-public node-color-name
(package
(name "node-color-name")
(version "1.1.3")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/colorjs/color-name")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"09rbmj16nfwcwkhrybqxyy66bkrs50vpw6hkdqqb14l3gsyxpr74"))))
(build-system node-build-system)
(home-page "https://github.com/colorjs/color-name")
(synopsis "JSON with CSS color names")
(description
"This package provides a JSON list with color names and their values.")
(license license:expat)))
(define-public node-env-variable
(package
(name "node-env-variable")