aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Neidhardt <mail@ambrevar.xyz>2018-10-01 15:32:42 +0200
committerPierre Neidhardt <mail@ambrevar.xyz>2018-10-19 17:54:13 +0200
commita28d00d999e7429a0be3e27c648688065089a6cb (patch)
treebc41a385e9e7f5c3a1ee3bd5dab5cf96f285d0bf
parent28b52970ba097f9ff274b3484b1a353d67865968 (diff)
downloadguix-a28d00d999e7429a0be3e27c648688065089a6cb.tar.gz
guix-a28d00d999e7429a0be3e27c648688065089a6cb.zip
gnu: Add simple-scanf.
* gnu/packages/lisp.scm (cl-simple-scanf, ecl-simple-scanf, sbcl-simple-scanf): New variables.
-rw-r--r--gnu/packages/lisp.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm
index 807398d508..7a6bf7496d 100644
--- a/gnu/packages/lisp.scm
+++ b/gnu/packages/lisp.scm
@@ -2703,6 +2703,27 @@ single-byte encoded strings.")
(define-public ecl-ascii-strings
(sbcl-package->ecl-package sbcl-ascii-strings))
+(define-public sbcl-simple-scanf
+ (package
+ (inherit sbcl-ascii-strings)
+ (name "sbcl-simple-scanf")
+ (inputs
+ `(("alexandria" ,sbcl-alexandria)
+ ("iterate" ,sbcl-iterate)
+ ("proc-parse" ,sbcl-proc-parse)
+ ("parse-float" ,sbcl-parse-float)))
+ (arguments
+ `(#:asd-file "simple-scanf.asd"))
+ (synopsis "Simple scanf-like functionality implementation")
+ (description
+ "A simple scanf-like functionality implementation.")))
+
+(define-public cl-simple-scanf
+ (sbcl-package->cl-source-package sbcl-simple-scanf))
+
+(define-public ecl-simple-scanf
+ (sbcl-package->ecl-package sbcl-simple-scanf))
+
(define-public sbcl-cl-string-match
(package
(inherit sbcl-ascii-strings)