unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#58609] [PATCH] gnu: Add grap.
@ 2022-10-18 12:30 EuAndreh via Guix-patches via
  2022-10-21 16:30 ` bug#58609: " Christopher Baines
  0 siblings, 1 reply; 2+ messages in thread
From: EuAndreh via Guix-patches via @ 2022-10-18 12:30 UTC (permalink / raw)
  To: 58609; +Cc: EuAndreh

* gnu/packages/groff.scm (grap): New variable.
---

Built reproducibly and formatted with 'guix style'.

 gnu/packages/groff.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/groff.scm b/gnu/packages/groff.scm
index 1d2af7ff07..33a059053c 100644
--- a/gnu/packages/groff.scm
+++ b/gnu/packages/groff.scm
@@ -35,6 +35,7 @@ (define-module (gnu packages groff)
   #:use-module (gnu packages)
   #:use-module (gnu packages ruby)
   #:use-module (gnu packages bison)
+  #:use-module (gnu packages flex)
   #:use-module (gnu packages ghostscript)
   #:use-module (gnu packages netpbm)
   #:use-module (gnu packages perl)
@@ -258,3 +259,28 @@ (define-public ronn-ng
 man page format from Markdown.")
     (home-page "https://github.com/apjanke/ronn-ng")
     (license expat)))
+
+(define-public grap
+  (package
+    (name "grap")
+    (version "1.46")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://www.lunabase.org/~faber/Vault/software/grap/grap-"
+                    version ".tar.gz"))
+              (sha256
+               (base32
+                "1d4bhhgi64x4cjww7fj0lqgr20w7lqnl2aizj6cndsgyxkywx3ks"))))
+    (build-system gnu-build-system)
+    (native-inputs (list flex bison))
+    (synopsis "Tool for creating graphs with troff")
+    (description
+     "Grap is a language for typesetting graphs specified and
+first implemented by Brian Kernighan and Jon Bentley at Bell Labs.  It is an
+expressive language for describing graphs and incorporating them in typeset
+documents.  It is implemented as a preprocessor to Kernigan's pic language for
+describing languages, so any system that can use pic can use grap.  For sure,
+TeX and groff can use it.")
+    (home-page "https://github.com/snorerot13/grap")
+    (license bsd-3)))
-- 
2.38.0





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

* bug#58609: [PATCH] gnu: Add grap.
  2022-10-18 12:30 [bug#58609] [PATCH] gnu: Add grap EuAndreh via Guix-patches via
@ 2022-10-21 16:30 ` Christopher Baines
  0 siblings, 0 replies; 2+ messages in thread
From: Christopher Baines @ 2022-10-21 16:30 UTC (permalink / raw)
  To: EuAndreh; +Cc: 58609-done

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


EuAndreh via Guix-patches via <guix-patches@gnu.org> writes:

> * gnu/packages/groff.scm (grap): New variable.
> ---
>
> Built reproducibly and formatted with 'guix style'.
>
>  gnu/packages/groff.scm | 26 ++++++++++++++++++++++++++
>  1 file changed, 26 insertions(+)

Thanks, pushed to master as 77391a1d52fde54e388fbe6978a3571a1738b865.

Chris

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

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

end of thread, other threads:[~2022-10-21 19:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-18 12:30 [bug#58609] [PATCH] gnu: Add grap EuAndreh via Guix-patches via
2022-10-21 16:30 ` bug#58609: " Christopher Baines

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).