guix-commits
[Top][All Lists]
Advanced

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

09/09: gnu: Add node-color-name.


From: guix-commits
Subject: 09/09: gnu: Add node-color-name.
Date: Mon, 20 Jan 2020 02:43:22 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit 317f925b7f4b7277cf3a79814bd7dbed8f1d1099
Author: Efraim Flashner <address@hidden>
AuthorDate: Mon Jan 13 22:04:47 2020 +0200

    gnu: Add node-color-name.
    
    * gnu/packages/node-xyz.scm (node-color-name): New variable.
---
 gnu/packages/node-xyz.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/node-xyz.scm b/gnu/packages/node-xyz.scm
index 03d1a60..44236ec 100644
--- a/gnu/packages/node-xyz.scm
+++ b/gnu/packages/node-xyz.scm
@@ -22,6 +22,27 @@
   #: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")



reply via email to

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