guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#63894] [PATCH 25/55] gnu: Add perl-graphviz.


From: Antero Mejr
Subject: [bug#63894] [PATCH 25/55] gnu: Add perl-graphviz.
Date: Sun, 4 Jun 2023 17:42:19 +0000

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

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index f4f0a16ea8..6263d8b97e 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -76,6 +76,7 @@ (define-module (gnu packages perl)
   #:use-module (gnu packages gcc)
   #:use-module (gnu packages gd)
   #:use-module (gnu packages gl)
+  #:use-module (gnu packages graphviz)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages hurd)
   #:use-module (gnu packages image)
@@ -5682,6 +5683,35 @@ (define-public perl-graph
 the abstract data structures.")
     (license (package-license perl))))
 
+(define-public perl-graphviz
+  (package
+    (name "perl-graphviz")
+    (version "2.26")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://cpan/authors/id/E/ET/ETJ/GraphViz-"
+                                  version ".tar.gz"))
+              (sha256
+               (base32
+                "0a3kv92z9gykwgh8py5y67wygy25lijdfb97fl2g6ar6nch2apcs"))))
+    (build-system perl-build-system)
+    (inputs (list graphviz))
+    (propagated-inputs (list perl-file-which
+                             perl-ipc-run
+                             perl-libwww
+                             perl-parse-recdescent
+                             perl-xml-twig
+                             perl-xml-xpath))
+    (home-page "https://metacpan.org/release/GraphViz";)
+    (synopsis "Perl interface to Graphviz")
+    (description
+     "This module provides an interface to layout and image generation of
+directed and undirected graphs in a variety of formats (PostScript, PNG, etc.)
+using the @code{dot}, @code{neato}, @code{twopi}, @code{circo}, and @code{fdp}
+programs from the Graphviz project.  This package is deprecated in favour of
+GraphViz2.")
+    (license license:perl-license)))
+
 (define-public perl-guard
   (package
     (name "perl-guard")
-- 
2.39.2






reply via email to

[Prev in Thread] Current Thread [Next in Thread]