all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#40593] Added emacs-uml-mode
@ 2020-04-13  6:15 Alberto EFG
  2020-04-14  9:12 ` bug#40593: " Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Alberto EFG @ 2020-04-13  6:15 UTC (permalink / raw)
  To: 40593

[-- Attachment #1: Type: text/plain, Size: 194 bytes --]


Added emacs-uml-mode. I used the same branch where I wrote
emacs-org-roam (bug#40591) hope it is ok.

guix size is 0.1 MB

The package is just an emacs file, there should not be much problem.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-emacs-uml-mode.patch --]
[-- Type: text/x-patch, Size: 1630 bytes --]

From 0289b51837ea2edfe610deb2e91ee329601f1234 Mon Sep 17 00:00:00 2001
From: Alberto Eleuterio Flores Guerrero <barbanegra+guix@posteo.mx>
Date: Mon, 13 Apr 2020 01:07:04 -0500
Subject: [PATCH] gnu: Add emacs-uml-mode.

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

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 0f1c48be2e..0fdc509038 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -22332,3 +22332,25 @@ without hierarchy and are connected by tags.  Notes can be found
 and created quickly.  Org-roam should also work as a plug-and-play
  solution for anyone already using Org-mode for their personal wiki.")
    (license license:gpl3)))
+
+(define-public emacs-uml-mode
+  (package
+   (name "emacs-uml-mode")
+   (version "0.0.4")
+   (source
+    (origin
+     (method git-fetch)
+     (uri (git-reference
+           (url "https://github.com/ianxm/emacs-uml.git")
+           (commit "4c37ac1c4424b2313cd8f16ba48a98a4cc214200")))
+     (file-name (git-file-name name version))
+     (sha256
+      (base32
+       "145i4srnfvd1vyibri2a1l6p9mbjvkkwlrpi41134pbarqffcnka"))))
+   (build-system emacs-build-system)
+   (home-page "https://github.com/ianxm/emacs-uml")
+   (synopsis "Minor mode for editing ascii UML sequence diagrams")
+   (description "@code{emacs-uml-mode} is a minor mode that
+ makes it easy to build ascii UML sequence diagrams in Emacs,
+which can be embedded in source code, comments or emails.")
+   (license license:gpl3)))
-- 
2.26.0


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

* bug#40593: Added emacs-uml-mode
  2020-04-13  6:15 [bug#40593] Added emacs-uml-mode Alberto EFG
@ 2020-04-14  9:12 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2020-04-14  9:12 UTC (permalink / raw)
  To: Alberto EFG; +Cc: 40593-done

Hello,

Alberto EFG <albertoefg@posteo.mx> writes:

> Added emacs-uml-mode. I used the same branch where I wrote
> emacs-org-roam (bug#40591) hope it is ok.

Thank you.

Note that adding all new packages at the end of the file is likely to
create merge conflicts. If they are tied, send them in the same bug
report.

> +(define-public emacs-uml-mode
> +  (package
> +   (name "emacs-uml-mode")
> +   (version "0.0.4")

This is not an official release. So I added a commit, a revision, and
a comment. Therefore, the line became:

  (version (git-version "0.0.4" revision commit))

> +   (source
> +    (origin
> +     (method git-fetch)
> +     (uri (git-reference
> +           (url "https://github.com/ianxm/emacs-uml.git")
> +           (commit "4c37ac1c4424b2313cd8f16ba48a98a4cc214200")))

As a consequence of the "no revision" situation, the line above  became:

  (commit commit)

> +     (file-name (git-file-name name version))
> +     (sha256
> +      (base32
> +       "145i4srnfvd1vyibri2a1l6p9mbjvkkwlrpi41134pbarqffcnka"))))
> +   (build-system emacs-build-system)
> +   (home-page "https://github.com/ianxm/emacs-uml")
> +   (synopsis "Minor mode for editing ascii UML sequence diagrams")
> +   (description "@code{emacs-uml-mode} is a minor mode that
> + makes it easy to build ascii UML sequence diagrams in Emacs,
> +which can be embedded in source code, comments or emails.")
> +   (license license:gpl3)))

Please also see my comments about "emacs-org-roam" (indentation, commit,
license).

Regards,

-- 
Nicolas Goaziou

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

end of thread, other threads:[~2020-04-14  9:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-13  6:15 [bug#40593] Added emacs-uml-mode Alberto EFG
2020-04-14  9:12 ` bug#40593: " 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.