From: Antero Mejr via Guix-patches via <guix-patches@gnu.org>
To: 61218@debbugs.gnu.org
Cc: Antero Mejr <antero@mailbox.org>
Subject: [bug#61218] [PATCH] gnu: Add emacs-hexrgb.
Date: Wed, 1 Feb 2023 20:35:59 +0000 [thread overview]
Message-ID: <20230201203559.15384-1-antero@mailbox.org> (raw)
In-Reply-To: <20230201203121.14910-1-antero@mailbox.org>
* 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
next prev parent reply other threads:[~2023-02-01 20:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-01 20:31 [bug#61218] [PATCH] gnu: Add emacs-jabber Antero Mejr via Guix-patches via
2023-02-01 20:35 ` [bug#61218] [PATCH] gnu: Add emacs-srv Antero Mejr via Guix-patches via
2023-02-01 20:35 ` Antero Mejr via Guix-patches via [this message]
2023-02-03 22:47 ` [bug#61218] [PATCH] gnu: Add emacs-jabber Nicolas Goaziou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230201203559.15384-1-antero@mailbox.org \
--to=guix-patches@gnu.org \
--cc=61218@debbugs.gnu.org \
--cc=antero@mailbox.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).