* [bug#61713] [PATCH] gnu: Add emacs-display-wttr.
@ 2023-02-22 17:34 conses
2023-02-23 12:31 ` [bug#61713] [PATCH v2] " conses
2023-02-24 11:28 ` bug#61713: [PATCH] " Nicolas Goaziou
0 siblings, 2 replies; 3+ messages in thread
From: conses @ 2023-02-22 17:34 UTC (permalink / raw)
To: 61713
* gnu/packages/emacs-xyz.scm (emacs-display-wttr): 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 3b12642bc9..8285bd3868 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -18229,6 +18229,34 @@ (define-public emacs-which-key
settings).")
(license license:gpl3+)))
+(define-public emacs-display-wttr
+ (package
+ (name "emacs-display-wttr")
+ (version "2.1.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/josegpt/display-wttr")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1hmawlnd2l89p48pviwn4khvjs0iry8x67cyqw70r10dd0ybn851"))))
+ (build-system emacs-build-system)
+ (arguments
+ (list #:tests? #t
+ #:test-command #~(list "emacs" "--batch"
+ "-l" "display-wttr-test.el"
+ "-f" "ert-run-tests-batch-and-exit")))
+ (home-page "https://github.com/josegpt/display-wttr")
+ (synopsis "Display wttr (weather) in the mode line")
+ (description "This package contains a minor mode that can be toggled.
+It fetches weather information based on your location or on a location set in
+@code{display-wttr-locations} from @uref{https://wttr.in} and then displays it
+on the mode line. The entry point is @code{display-wttr}. Heavily inspired by
+@code{display-time}.")
+ (license license:gpl3+)))
+
(define-public emacs-free-keys
(package
(name "emacs-free-keys")
--
2.39.1
--
Best regards,
conses
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [bug#61713] [PATCH v2] gnu: Add emacs-display-wttr.
2023-02-22 17:34 [bug#61713] [PATCH] gnu: Add emacs-display-wttr conses
@ 2023-02-23 12:31 ` conses
2023-02-24 11:28 ` bug#61713: [PATCH] " Nicolas Goaziou
1 sibling, 0 replies; 3+ messages in thread
From: conses @ 2023-02-23 12:31 UTC (permalink / raw)
To: 61713
* gnu/packages/emacs-xyz.scm (emacs-display-wttr): New variable.
---
The package has been migrated to sourcehut.
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 3b12642bc9..79a4606770 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -18229,6 +18229,34 @@ (define-public emacs-which-key
settings).")
(license license:gpl3+)))
+(define-public emacs-display-wttr
+ (package
+ (name "emacs-display-wttr")
+ (version "2.1.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://git.sr.ht/~josegpt/display-wttr")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1hmawlnd2l89p48pviwn4khvjs0iry8x67cyqw70r10dd0ybn851"))))
+ (build-system emacs-build-system)
+ (arguments
+ (list #:tests? #t
+ #:test-command #~(list "emacs" "--batch"
+ "-l" "display-wttr-test.el"
+ "-f" "ert-run-tests-batch-and-exit")))
+ (home-page "https://git.sr.ht/~josegpt/display-wttr")
+ (synopsis "Display wttr (weather) in the mode line")
+ (description "This package contains a minor mode that can be toggled.
+It fetches weather information based on your location or on a location set in
+@code{display-wttr-locations} from @uref{https://wttr.in} and then displays it
+on the mode line. The entry point is @code{display-wttr}. Heavily inspired by
+@code{display-time}.")
+ (license license:gpl3+)))
+
(define-public emacs-free-keys
(package
(name "emacs-free-keys")
--
2.39.1
--
Best regards,
conses
^ permalink raw reply related [flat|nested] 3+ messages in thread
* bug#61713: [PATCH] gnu: Add emacs-display-wttr.
2023-02-22 17:34 [bug#61713] [PATCH] gnu: Add emacs-display-wttr conses
2023-02-23 12:31 ` [bug#61713] [PATCH v2] " conses
@ 2023-02-24 11:28 ` Nicolas Goaziou
1 sibling, 0 replies; 3+ messages in thread
From: Nicolas Goaziou @ 2023-02-24 11:28 UTC (permalink / raw)
To: conses; +Cc: 61713-done
Hello,
conses <contact@conses.eu> writes:
> * gnu/packages/emacs-xyz.scm (emacs-display-wttr): New variable.
Applied with minor tweaks to description. Thank you!
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-02-24 11:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-22 17:34 [bug#61713] [PATCH] gnu: Add emacs-display-wttr conses
2023-02-23 12:31 ` [bug#61713] [PATCH v2] " conses
2023-02-24 11:28 ` bug#61713: [PATCH] " Nicolas Goaziou
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.