From: Sharlatan Hellseher <sharlatanus@gmail.com>
To: 58953@debbugs.gnu.org
Cc: Sharlatan Hellseher <sharlatanus@gmail.com>
Subject: [bug#58953] [PATCH 1/1] gnu: Add hu.dwim.graphviz
Date: Tue, 1 Nov 2022 21:34:23 +0000 [thread overview]
Message-ID: <20221101213423.31223-1-sharlatanus@gmail.com> (raw)
In-Reply-To: <20221101213308.31091-1-sharlatanus@gmail.com>
* gnu/packages/lisp-xyz.scm (ecl-hu.dwim.graphviz, cl-hu.dwim.graphviz,
sbcl-hu.dwim.graphviz): New variables.
---
gnu/packages/lisp-xyz.scm | 41 +++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 80a35f9dd1..bc80d930e1 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -84,6 +84,7 @@ (define-module (gnu packages lisp-xyz)
#:use-module (gnu packages glib)
#:use-module (gnu packages gnome)
#:use-module (gnu packages gnupg)
+ #:use-module (gnu packages graphviz)
#:use-module (gnu packages gtk)
#:use-module (gnu packages image)
#:use-module (gnu packages imagemagick)
@@ -1868,6 +1869,46 @@ (define-public cl-hu.dwim.asdf
(define-public ecl-hu.dwim.asdf
(sbcl-package->ecl-package sbcl-hu.dwim.asdf))
+(define-public sbcl-hu.dwim.graphviz
+ (let ((commit "31522ca8b9a04d535b7cec20ef24d8bf3b26d52b")
+ (revision "1"))
+ (package
+ (name "sbcl-hu.dwim.graphviz")
+ (version (git-version "0.0.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/hu-dwim/hu.dwim.graphviz")
+ (commit commit)))
+ (file-name (git-file-name "sbcl-hu.dwim.graphviz" version))
+ (sha256
+ (base32 "0cz5g7d6817ajypp876k9m65sxxlf42x4bg04ya73aqci5s1vjwy"))))
+ (build-system asdf-build-system/sbcl)
+ (arguments
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'patch-graphviz-lib-path
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "source/package.lisp"
+ (("libgvc.so")
+ (search-input-file inputs "/lib/libgvc.so"))))))))
+ (native-inputs
+ (list sbcl-hu.dwim.common sbcl-hu.dwim.stefil))
+ (inputs
+ (list graphviz sbcl-cffi sbcl-metabang-bind))
+ (home-page "https://github.com/hu-dwim/hu.dwim.graphviz")
+ (synopsis "Graphviz layouting using CFFI bindings")
+ (description
+ "This package provides CFFI bindigs to Graphviz library in Common Lisp.")
+ (license license:public-domain))))
+
+(define-public cl-hu.dwim.graphviz
+ (sbcl-package->cl-source-package sbcl-hu.dwim.graphviz))
+
+(define-public ecl-hu.dwim.graphviz
+ (sbcl-package->ecl-package sbcl-hu.dwim.graphviz))
+
(define-public sbcl-babel
;; No release since 2014.
(let ((commit "f892d0587c7f3a1e6c0899425921b48008c29ee3")
--
2.37.3
next prev parent reply other threads:[~2022-11-01 21:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-01 21:33 [bug#58953] [PATCH 0/1] gnu: Add hu.dwim.graphviz Sharlatan Hellseher
2022-11-01 21:34 ` Sharlatan Hellseher [this message]
2022-11-03 14:09 ` bug#58953: " Guillaume Le Vaillant
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221101213423.31223-1-sharlatanus@gmail.com \
--to=sharlatanus@gmail.com \
--cc=58953@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.