summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2020-12-27 17:04:45 +0100
committerRicardo Wurmus <rekado@elephly.net>2020-12-27 18:14:34 +0100
commit2cb4ff0321b463275ccf6a533b538cd3466f4194 (patch)
tree4e6650ee3a8bcbf581cf5022275ccff4fb3a819c
parentd21f251a35a1e8305b06ec23a0c56e444b4794ac (diff)
gnu: Add emacs-svg-icon.
* gnu/packages/emacs-xyz.scm (emacs-svg-icon): New variable.
-rw-r--r--gnu/packages/emacs-xyz.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 0822bfdd29..6ceb1d3c10 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -15973,6 +15973,30 @@ within Emacs.")
or expressions with SVG rounded box labels that are fully customizable.")
(license license:gpl3+))))
+(define-public emacs-svg-icon
+ (let ((commit "ebc2b8d0f6c680fd575a90e683cc7b832acd1eb7")
+ (revision "1"))
+ (package
+ (name "emacs-svg-icon")
+ (version (git-version "0.1" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/rougier/emacs-svg-icon")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1qzqfa8xyw1nkb89kbvw9qcgdwr8g017n8gf3yzwn816qhkfkjrj"))))
+ (build-system emacs-build-system)
+ (home-page "https://github.com/rougier/emacs-svg-icon")
+ (synopsis "Emacs library to create SVG icons on the fly")
+ (description "This library allows to create SVG icons by parsing remote
+collections whose license are compatibles with Emacs. The default size of an
+icon is exactly 2x1 characters such that it can be inserted inside a text
+without disturbing alignment.")
+ (license (list license:gpl3+)))))
+
(define-public emacs-sourcemap
(package
(name "emacs-sourcemap")