mothacehe pushed a commit to branch master
in repository guix.

commit 581720bc7468374a61bedc000b3a80d5ea2d9336
Author: Mathieu Othacehe <m.othac...@gmail.com>
Date:   Mon Oct 1 08:33:24 2018 +0200

    gnu: Add guile-newt.
    
    * gnu/packages/guile.scm (guile-newt): New variable.
---
 gnu/packages/guile.scm | 38 +++++++++++++++++++++++++++++++++++++-
 1 file changed, 37 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm
index 94bb598..3c8d2e5 100644
--- a/gnu/packages/guile.scm
+++ b/gnu/packages/guile.scm
@@ -12,7 +12,7 @@
 ;;; Copyright © 2016 Jan Nieuwenhuizen <jann...@gnu.org>
 ;;; Copyright © 2017 Andy Wingo <wi...@igalia.com>
 ;;; Copyright © 2017 David Thompson <da...@gnu.org>
-;;; Copyright © 2017 Mathieu Othacehe <m.othac...@gmail.com>
+;;; Copyright © 2017, 2018 Mathieu Othacehe <m.othac...@gmail.com>
 ;;; Copyright © 2017 Theodoros Foradis <theodo...@foradis.org>
 ;;; Copyright © 2017 Nils Gillmann <n...@n0.is>
 ;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <m...@tobias.gr>
@@ -68,6 +68,7 @@
   #:use-module (gnu packages maths)
   #:use-module (gnu packages image)
   #:use-module (gnu packages version-control)
+  #:use-module (gnu packages slang)
   #:use-module (gnu packages xdisorg)
   #:use-module (gnu packages xorg)
   #:use-module (gnu packages networking)
@@ -2286,4 +2287,39 @@ using S-expressions.")
 tracker's SOAP service, such as @url{https://bugs.gnu.org}.";)
     (license license:gpl3+)))
 
+;; There has not been any release yet.
+(define-public guile-newt
+  (let ((commit "596ad760bee1be419d71271732f0f30eaee55143")
+        (revision "0"))
+    (package
+      (name "guile-newt")
+      (version (string-append "0-" revision "." (string-take commit 9)))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://gitlab.com/mothacehe/guile-newt";)
+                      (commit commit)))
+                (file-name (string-append name "-" version "-checkout"))
+                (sha256
+                 (base32
+                  "18qqbi0bc7vp2vlrhib3p3wwgn7wrlv5728dn0avirhw4fxxivnf"))))
+      (build-system gnu-build-system)
+      (arguments
+       '(#:make-flags
+         '("GUILE_AUTO_COMPILE=0"))) ;to prevent guild warnings
+      (inputs
+       `(("guile" ,guile-2.2)
+         ("newt" ,newt)))
+      (native-inputs
+       `(("autoconf" ,autoconf)
+         ("automake" ,automake)
+         ("pkg-config" ,pkg-config)))
+      (synopsis "Guile bindings to Newt")
+      (description
+       "This package provides bindings for Newt, a programming library for
+color text mode, widget based user interfaces.  The bindings are written in 
pure
+Scheme by using Guile’s foreign function interface.")
+      (home-page "https://gitlab.com/mothacehe/guile-newt";)
+      (license license:gpl3+))))
+
 ;;; guile.scm ends here

Reply via email to