all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#58953] [PATCH 0/1] gnu: Add hu.dwim.graphviz
@ 2022-11-01 21:33 Sharlatan Hellseher
  2022-11-01 21:34 ` [bug#58953] [PATCH 1/1] " Sharlatan Hellseher
  2022-11-03 14:09 ` bug#58953: [PATCH 0/1] " Guillaume Le Vaillant
  0 siblings, 2 replies; 3+ messages in thread
From: Sharlatan Hellseher @ 2022-11-01 21:33 UTC (permalink / raw)
  To: 58953; +Cc: Sharlatan Hellseher

Hi Guix team!

Please review Graphviz bindings for Common Lisp.

> ./pre-inst-env guix build sbcl-hu.dwim.graphviz cl-hu.dwim.graphviz ecl-hu.dwim.graphviz --rounds=2
> /gnu/store/mwdc8x4lrdy90hvmg2z9qqka82wkl3b9-ecl-hu.dwim.graphviz-0.0.0-1.31522ca
> /gnu/store/cx038vn0rqswpnnaw77k3ay0lmi4q5wp-cl-hu.dwim.graphviz-0.0.0-1.31522ca
> /gnu/store/fkb2a7801hq1lfqlfic12wkwrp6yhxgm-sbcl-hu.dwim.graphviz-0.0.0-1.31522ca

Sharlatan Hellseher (1):
  gnu: Add hu.dwim.graphviz

 gnu/packages/lisp-xyz.scm | 41 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)


base-commit: d0917d778284ee7d70bc80b0538e3b4ae67870f4
-- 
2.37.3





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

* [bug#58953] [PATCH 1/1] gnu: Add hu.dwim.graphviz
  2022-11-01 21:33 [bug#58953] [PATCH 0/1] gnu: Add hu.dwim.graphviz Sharlatan Hellseher
@ 2022-11-01 21:34 ` Sharlatan Hellseher
  2022-11-03 14:09 ` bug#58953: [PATCH 0/1] " Guillaume Le Vaillant
  1 sibling, 0 replies; 3+ messages in thread
From: Sharlatan Hellseher @ 2022-11-01 21:34 UTC (permalink / raw)
  To: 58953; +Cc: Sharlatan Hellseher

* 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





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

* bug#58953: [PATCH 0/1] gnu: Add hu.dwim.graphviz
  2022-11-01 21:33 [bug#58953] [PATCH 0/1] gnu: Add hu.dwim.graphviz Sharlatan Hellseher
  2022-11-01 21:34 ` [bug#58953] [PATCH 1/1] " Sharlatan Hellseher
@ 2022-11-03 14:09 ` Guillaume Le Vaillant
  1 sibling, 0 replies; 3+ messages in thread
From: Guillaume Le Vaillant @ 2022-11-03 14:09 UTC (permalink / raw)
  To: Sharlatan Hellseher; +Cc: 58953-done

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

Patch pushed as 53c8cbb31428322e16c255f73fb7f7670ef7f8aa.
Thanks.

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

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

end of thread, other threads:[~2022-11-03 14:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-01 21:33 [bug#58953] [PATCH 0/1] gnu: Add hu.dwim.graphviz Sharlatan Hellseher
2022-11-01 21:34 ` [bug#58953] [PATCH 1/1] " Sharlatan Hellseher
2022-11-03 14:09 ` bug#58953: [PATCH 0/1] " Guillaume Le Vaillant

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.