[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#61218] [PATCH] gnu: Add emacs-hexrgb.
From: |
Antero Mejr |
Subject: |
[bug#61218] [PATCH] gnu: Add emacs-hexrgb. |
Date: |
Wed, 1 Feb 2023 20:35:59 +0000 |
* gnu/packages/emacs-xyz.scm (emacs-hexrgb): New variable.
---
gnu/packages/emacs-xyz.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index ba2916a463..7dfa98f6ba 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -35602,6 +35602,34 @@ (define-public emacs-vertico-posframe
a vertical completion UI.")
(license license:gpl3+)))
+(define-public emacs-hexrgb
+ (package
+ (name "emacs-hexrgb")
+ (version "961")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/emacsmirror/hexrgb")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1j073dyzl343zh0nygldf9z3ixa57picq39a95mlz0p4pf6fmpx7"))))
+ (build-system emacs-build-system)
+ (home-page "https://www.emacswiki.org/emacs/hexrgb.el")
+ (synopsis "Emacs functions to convert color formats")
+ (description
+ "@code{hexrgb.el} provides functions for converting between RGB
+(red, green, blue) color components and HSV (hue, saturation, value) color
+components. It converts:
+@itemize
+@item Emacs color components (whole numbers from 0 through 65535)
+@item RGB and HSV floating-point components (0.0 through 1.0)
+@item Emacs color-name strings (such as \"blue\")
+@item hex RGB color strings (such as \"#FC43A7912\")
+@end itemize")
+ (license license:gpl2+)))
+
;;;
;;; Avoid adding new packages to the end of this file. To reduce the chances
;;; of a merge conflict, place them above by existing packages with similar
--
2.38.1