From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51964) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eBcoE-0007ah-4c for guix-patches@gnu.org; Mon, 06 Nov 2017 03:31:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eBcoA-000330-VW for guix-patches@gnu.org; Mon, 06 Nov 2017 03:31:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:44259) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eBcoA-00032m-Ql for guix-patches@gnu.org; Mon, 06 Nov 2017 03:31:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eBcoA-0003kD-CY for guix-patches@gnu.org; Mon, 06 Nov 2017 03:31:02 -0500 Subject: [bug#29144] [PATCH] gnu: add pydot. References: <20171104193643.1387-1-boskovits@gmail.com> In-Reply-To: <20171104193643.1387-1-boskovits@gmail.com> Resent-Message-ID: From: =?UTF-8?Q?G=C3=A1bor?= Boskovits Date: Mon, 6 Nov 2017 09:30:04 +0100 Message-Id: <20171106083004.16760-1-boskovits@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 29144@debbugs.gnu.org Cc: =?UTF-8?Q?G=C3=A1bor?= Boskovits * gnu/packages/graphviz.scm(python-pydot): New variable. --- gnu/packages/graphviz.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/graphviz.scm b/gnu/packages/graphviz.scm index c71fb74cf..dbc501733 100644 --- a/gnu/packages/graphviz.scm +++ b/gnu/packages/graphviz.scm @@ -4,6 +4,7 @@ ;;; Copyright © 2016 Theodoros Foradis ;;; Copyright © 2017 Ricardo Wurmus ;;; Copyright © 2017 Tobias Geerinckx-Rice +;;; Copyright © 2017 Gábor Boskovits ;;; ;;; This file is part of GNU Guix. ;;; @@ -41,6 +42,7 @@ #:use-module (gnu packages compression) #:use-module (gnu packages gd) #:use-module (gnu packages swig) + #:use-module (gnu packages python) #:use-module ((guix licenses) #:prefix license:)) (define-public graphviz @@ -211,3 +213,27 @@ visualization tool suite.") an intermediate format,and @code{gtk} and @code{cairo} for rendering. Xdot can be used either as a standalone application, or as a python library.") (license license:lgpl3+))) + +(define-public python-pydot + (package + (name "python-pydot") + (version "1.2.3") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pydot" version)) + (sha256 + (base32 + "00imlz0033dygb9gdag1xr0cybn33gk5jsdi9ffbszzr97rd7dgd")))) + (build-system python-build-system) + (propagated-inputs + `(("python-pyparsing",python-pyparsing))) + (native-inputs + `(("python-chardet",python-chardet))) + (home-page "https://github.com/erocarrera/pydot") + (synopsis "Python interface to Graphviz's Dot language") + (description + "An interface to Graphviz that can parse and dump ++into the DOT language used by GraphViz, is written in pure Python, ++and networkx can convert its graphs to pydot.") + (license license:expat))) -- 2.14.2