* [bug#43624] [PATCH]Add emacs-mood-line
@ 2020-09-25 18:10 marco.au.grassi98--- via Guix-patches via
2020-09-27 12:24 ` Nicolas Goaziou
0 siblings, 1 reply; 2+ messages in thread
From: marco.au.grassi98--- via Guix-patches via @ 2020-09-25 18:10 UTC (permalink / raw)
To: 43624
[-- Attachment #1.1: Type: text/plain, Size: 140 bytes --]
Hello, i made a patch to add the mood-line emacs package.
This is my first contribution, let me know if i did something wrong.
Grassi Marco
[-- Attachment #1.2: Type: text/html, Size: 197 bytes --]
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Add-emacs-mood-line.patch --]
[-- Type: text/x-patch; name=0001-Add-emacs-mood-line.patch, Size: 1505 bytes --]
From 295667c685d2ab5cf482931290548ef446226ae2 Mon Sep 17 00:00:00 2001
From: AuPath <marco.au.grassi98@protonmail.com>
Date: Fri, 25 Sep 2020 19:52:24 +0200
Subject: [PATCH] Add emacs-mood-line.
---
gnu/packages/emacs-xyz.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 3b75219077..1d1c3957f6 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -23032,6 +23032,27 @@ icon support, git integration, and several other utilities.")
(home-page "https://github.com/seagle0128/doom-modeline/")
(license license:gpl3+)))
+(define-public emacs-mood-line
+ (package
+ (name "emacs-mood-line")
+ (version "1.2.4")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://gitlab.com/jessieh/mood-line.git")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0fh9j9fkgl433nykfzjnzap5labi4sdndfk1nv4f904ij69pmvxb"))))
+ (build-system emacs-build-system)
+ (home-page "https://gitlab.com/jessieh/mood-line")
+ (synopsis "Minimal mode-line for Emacs")
+ (description "Mood-line is a minimal mode-line configuration that aims
+to replicate some of the features of the
+doom-modeline package.")
+ (license license:gpl3+)))
+
(define-public emacs-shrink-path
(package
(name "emacs-shrink-path")
--
2.28.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [bug#43624] [PATCH]Add emacs-mood-line
2020-09-25 18:10 [bug#43624] [PATCH]Add emacs-mood-line marco.au.grassi98--- via Guix-patches via
@ 2020-09-27 12:24 ` Nicolas Goaziou
0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2020-09-27 12:24 UTC (permalink / raw)
To: 43624; +Cc: marco.au.grassi98, 43624-done
Hello,
"marco.au.grassi98--- via Guix-patches" via <guix-patches@gnu.org>
writes:
> Hello, i made a patch to add the mood-line emacs package.
Thank you.
> This is my first contribution, let me know if i did something wrong.
Welcome!
I made the changes detailed below and applied your patch.
> Subject: [PATCH] Add emacs-mood-line.
I changed the commit message to
gnu: Add emacs-mood-line.
* gnu/packages/emacs-xyz.scm (emacs-mood-line): New variable.
as it is standard practice in the repository. If you use Emacs (!) and
Yasnippets, typing "add" and <TAB> in an empty commit message should
fill the template above for you.
> + (source (origin
> + (method git-fetch)
> + (uri (git-reference
> + (url "https://gitlab.com/jessieh/mood-line.git")
> + (commit version)))
> + (file-name (git-file-name name version))
> + (sha256
> + (base32
> + "0fh9j9fkgl433nykfzjnzap5labi4sdndfk1nv4f904ij69pmvxb"))))
I moved `origin' below `source' and the hash string on the same line as
`base32'. I also fixed indentation of the whole definition. Eventually,
I removed the ".git" suffix from the URI.
> + (build-system emacs-build-system)
> + (home-page "https://gitlab.com/jessieh/mood-line")
> + (synopsis "Minimal mode-line for Emacs")
> + (description "Mood-line is a minimal mode-line configuration that aims
> +to replicate some of the features of the
> +doom-modeline package.")
I added a reference to Emacs in the description, moved the text below
the `description' keyword (a nitpick of mine), and changed doom-modeline
to Doom modeline (nitpick about typography vs. Lisp naming practices).
> + (license license:gpl3+)))
I also added a copyright line for you in the file header. Please let me
know if I fumbled on one of its parts.
I also fixed the license, which is gpl2+ according to library's header
lines.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-09-27 12:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-25 18:10 [bug#43624] [PATCH]Add emacs-mood-line marco.au.grassi98--- via Guix-patches via
2020-09-27 12:24 ` Nicolas Goaziou
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).