unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#41469] [PATCH] gnu: Add emacs-fountain-mode.
@ 2020-05-23  0:51 Vinicius Monego
  2020-05-23  7:20 ` bug#41469: " Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Vinicius Monego @ 2020-05-23  0:51 UTC (permalink / raw)
  To: 41469; +Cc: Vinicius Monego

* gnu/packages/emacs-xyz.scm (emacs-fountain-mode): New variable.
---
 gnu/packages/emacs-xyz.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index d952e8ea6c..83e280a21b 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -70,6 +70,7 @@
 ;;; Copyright © 2020 Alberto Eleuterio Flores Guerrero <barbanegra+guix@posteo.mx>
 ;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com>
 ;;; Copyright © 2020 pinoaffe <pinoaffe@airmail.cc>
+;;; Copyright © 2020 Vinicius Monego <monego@posteo.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -23014,3 +23015,25 @@ files.")
 sources.  It features syntax highlighting, autocompletion, preview of buffer
 or region and use of locally installed binaries.")
     (license license:gpl3+)))
+
+(define-public emacs-fountain-mode
+  (package
+    (name "emacs-fountain-mode")
+    (version "3.1.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/rnkn/fountain-mode")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "08giwg0jwk8zzj2i4cm08322qr6znrnv9a49za7c6j47bykpwj6s"))))
+    (build-system emacs-build-system)
+    (propagated-inputs
+     `(("emacs-seq" ,emacs-seq)))
+    (home-page "https://github.com/rnkn/fountain-mode")
+    (synopsis "Major mode for screenwriting in Fountain markup")
+    (description "Fountain Mode is a scriptwriting program for GNU Emacs
+using the Fountain plain text markup format.")
+    (license license:gpl3+)))
-- 
2.20.1





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#41469: [PATCH] gnu: Add emacs-fountain-mode.
  2020-05-23  0:51 [bug#41469] [PATCH] gnu: Add emacs-fountain-mode Vinicius Monego
@ 2020-05-23  7:20 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2020-05-23  7:20 UTC (permalink / raw)
  To: Vinicius Monego; +Cc: 41469-done

Hello,

Vinicius Monego <monego@posteo.net> writes:

> * gnu/packages/emacs-xyz.scm (emacs-fountain-mode): New variable.

Thank you.

> +    (propagated-inputs
> +     `(("emacs-seq" ,emacs-seq)))

I removed this, since the Emacs we package already includes `seq'
library.

> +    (home-page "https://github.com/rnkn/fountain-mode")
> +    (synopsis "Major mode for screenwriting in Fountain markup")
> +    (description "Fountain Mode is a scriptwriting program for GNU Emacs
> +using the Fountain plain text markup format.")
> +    (license license:gpl3+)))

As a side note, it is best to avoid adding new packages at the end of
the files, since this is more likely to introduce merge conflicts (this
one didn't, tho).

Regards,

-- 
Nicolas Goaziou




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-05-23  7:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-23  0:51 [bug#41469] [PATCH] gnu: Add emacs-fountain-mode Vinicius Monego
2020-05-23  7:20 ` bug#41469: " 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).