unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#39300] [PATCH] gnu: Add mscgen.
@ 2020-01-26 21:33 Alexander Krotov
  2020-02-07 23:43 ` Leo Famulari
  0 siblings, 1 reply; 4+ messages in thread
From: Alexander Krotov @ 2020-01-26 21:33 UTC (permalink / raw)
  To: 39300; +Cc: Alexander Krotov

* gnu/packages/mscgen.scm: New file.
* gnu/packages/mscgen.scm (mscgen): New variable.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add mscgen.
---
 gnu/local.mk            |  1 +
 gnu/packages/mscgen.scm | 52 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 53 insertions(+)
 create mode 100644 gnu/packages/mscgen.scm

diff --git a/gnu/local.mk b/gnu/local.mk
index bc011c09fb..9c0b626fca 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -352,6 +352,7 @@ GNU_SYSTEM_MODULES =				\
   %D%/packages/mpd.scm				\
   %D%/packages/mp3.scm				\
   %D%/packages/mpi.scm				\
+  %D%/packages/mscgen.scm			\
   %D%/packages/multiprecision.scm		\
   %D%/packages/music.scm			\
   %D%/packages/musl.scm				\
diff --git a/gnu/packages/mscgen.scm b/gnu/packages/mscgen.scm
new file mode 100644
index 0000000000..787d186e50
--- /dev/null
+++ b/gnu/packages/mscgen.scm
@@ -0,0 +1,52 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2020 Alexander Krotov <krotov@iitp.ru>
+;;;
+;;; This file is part of GNU Guix.
+;;;
+;;; GNU Guix is free software; you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3 of the License, or (at
+;;; your option) any later version.
+;;;
+;;; GNU Guix is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+;;; GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.
+
+(define-module (gnu packages mscgen)
+  #:use-module (guix licenses)
+  #:use-module (guix packages)
+  #:use-module (guix download)
+  #:use-module (guix build-system gnu)
+  #:use-module (gnu packages gd))
+
+(define-public mscgen
+  (package
+    (name "mscgen")
+    (version "0.20")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "http://www.mcternan.me.uk/mscgen/software/mscgen-src-"
+                           version
+                           ".tar.gz"))
+       (sha256
+        (base32
+         "08yw3maxhn5fl1lff81gmcrpa4j9aas4mmby1g9w5qcr0np82d1w"))))
+    (build-system gnu-build-system)
+    (inputs
+     `(("gd" ,gd)))
+    (home-page "http://www.mcternan.me.uk/mscgen/")
+    (synopsis "Message Sequence Chart Generator")
+    (description "Mscgen is a small program that parses Message Sequence Chart
+descriptions and produces PNG, SVG, EPS or server side image maps (ismaps) as
+the output. Message Sequence Charts (MSCs) are a way of representing entities
+and interactions over some time period and are often used in combination with
+SDL. MSCs are popular in Telecoms to specify how protocols operate although
+MSCs need not be complicated to create or use. Mscgen aims to provide a simple
+text language that is clear to create, edit and understand, which can also be
+transformed into common image formats for display or printing.")
+    (license gpl2+)))
-- 
2.25.0

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

* [bug#39300] [PATCH] gnu: Add mscgen.
  2020-01-26 21:33 [bug#39300] [PATCH] gnu: Add mscgen Alexander Krotov
@ 2020-02-07 23:43 ` Leo Famulari
  2020-02-08 19:09   ` Alexander Krotov
  0 siblings, 1 reply; 4+ messages in thread
From: Leo Famulari @ 2020-02-07 23:43 UTC (permalink / raw)
  To: Alexander Krotov; +Cc: 39300

On Mon, Jan 27, 2020 at 12:33:24AM +0300, Alexander Krotov wrote:
> * gnu/packages/mscgen.scm: New file.
> * gnu/packages/mscgen.scm (mscgen): New variable.
> * gnu/local.mk (GNU_SYSTEM_MODULES): Add mscgen.

Thanks! In general it LGTM...

> +(define-module (gnu packages mscgen)

Do you think that it would fit in (gnu packages graph)?

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

* [bug#39300] [PATCH] gnu: Add mscgen.
  2020-02-07 23:43 ` Leo Famulari
@ 2020-02-08 19:09   ` Alexander Krotov
  2020-02-11 17:20     ` bug#39300: " Leo Famulari
  0 siblings, 1 reply; 4+ messages in thread
From: Alexander Krotov @ 2020-02-08 19:09 UTC (permalink / raw)
  To: Leo Famulari; +Cc: 39300

>> +(define-module (gnu packages mscgen)
> 
> Do you think that it would fit in (gnu packages graph)?

Yes, feel free to place it there.

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

* bug#39300: [PATCH] gnu: Add mscgen.
  2020-02-08 19:09   ` Alexander Krotov
@ 2020-02-11 17:20     ` Leo Famulari
  0 siblings, 0 replies; 4+ messages in thread
From: Leo Famulari @ 2020-02-11 17:20 UTC (permalink / raw)
  To: Alexander Krotov; +Cc: 39300-done

On Sat, Feb 08, 2020 at 10:09:07PM +0300, Alexander Krotov wrote:
> >> +(define-module (gnu packages mscgen)
> > 
> > Do you think that it would fit in (gnu packages graph)?
> 
> Yes, feel free to place it there.

Okay, pushed as 56973172c9a8744637d6506bdff485cd27ff9791 after fixing
some cosmetic issues highlighted by `guix lint`. Thanks!

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

end of thread, other threads:[~2020-02-11 17:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-26 21:33 [bug#39300] [PATCH] gnu: Add mscgen Alexander Krotov
2020-02-07 23:43 ` Leo Famulari
2020-02-08 19:09   ` Alexander Krotov
2020-02-11 17:20     ` bug#39300: " Leo Famulari

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).