all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#30690] [PATCH] gnu: Add makefile2graph.
@ 2018-03-03 22:04 Christopher Baines
  2018-03-07 10:09 ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Christopher Baines @ 2018-03-03 22:04 UTC (permalink / raw)
  To: 30690

* gnu/packages/plotutils.scm (makefile2graph): New variable.
---
 gnu/packages/plotutils.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/plotutils.scm b/gnu/packages/plotutils.scm
index 482ae1b86..17a75ca4f 100644
--- a/gnu/packages/plotutils.scm
+++ b/gnu/packages/plotutils.scm
@@ -31,6 +31,7 @@
   #:use-module (gnu packages ghostscript)
   #:use-module (gnu packages guile)
   #:use-module (gnu packages gl)
+  #:use-module (gnu packages graphviz)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages maths)
   #:use-module (gnu packages perl)
@@ -250,3 +251,32 @@ LaTeX does for scientific text.")
     ;; noted otherwise, are released under version 3 (or later) of the GNU
     ;; Lesser General Public License"
     (license license:lgpl3+)))
+
+(define-public makefile2graph
+  (package
+    (name "makefile2graph")
+    (version "1.5.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://github.com/lindenb/" name
+                                  "/archive/v" version ".tar.gz"))
+              (sha256
+               (base32
+                "0h1vchkpmm9h6s87p5nf0ksjxcmsxpx8k62a508w428n570wcr4l"))
+              (file-name (string-append name "-" version ".tar.gz"))))
+    (build-system gnu-build-system)
+    (arguments
+     '(#:test-target "test"
+       #:make-flags (list "CC=gcc" (string-append "prefix=" %output))
+       #:phases
+       (modify-phases %standard-phases
+         (delete 'configure))))
+    (native-inputs
+     `(("graphviz" ,graphviz)))
+    (home-page "https://github.com/lindenb/makefile2graph")
+    (synopsis "Creates a graph of dependencies from GNU Make")
+    (description
+     "@code{make2graph} creates a graph of dependencies from GNU Make.  The
+output is a graphviz-dot file, a Gexf-XML file or a list of the deepest
+independent targets.")
+    (license license:expat)))
-- 
2.16.0

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

* [bug#30690] [PATCH] gnu: Add makefile2graph.
  2018-03-03 22:04 [bug#30690] [PATCH] gnu: Add makefile2graph Christopher Baines
@ 2018-03-07 10:09 ` Ludovic Courtès
  2018-03-13 18:06   ` bug#30690: " Christopher Baines
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2018-03-07 10:09 UTC (permalink / raw)
  To: Christopher Baines; +Cc: 30690

Hello!

Christopher Baines <mail@cbaines.net> skribis:

> * gnu/packages/plotutils.scm (makefile2graph): New variable.

I’d put that rather in code.scm, but otherwise LGTM, thanks!

Ludo’.

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

* bug#30690: [PATCH] gnu: Add makefile2graph.
  2018-03-07 10:09 ` Ludovic Courtès
@ 2018-03-13 18:06   ` Christopher Baines
  0 siblings, 0 replies; 3+ messages in thread
From: Christopher Baines @ 2018-03-13 18:06 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 30690-done

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


Ludovic Courtès <ludo@gnu.org> writes:

> Hello!
>
> Christopher Baines <mail@cbaines.net> skribis:
>
>> * gnu/packages/plotutils.scm (makefile2graph): New variable.
>
> I’d put that rather in code.scm, but otherwise LGTM, thanks!

That seems sensible. I've moved it and pushed. Thanks for taking a look.

Chris

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 962 bytes --]

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

end of thread, other threads:[~2018-03-13 18:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-03 22:04 [bug#30690] [PATCH] gnu: Add makefile2graph Christopher Baines
2018-03-07 10:09 ` Ludovic Courtès
2018-03-13 18:06   ` bug#30690: " Christopher Baines

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.