From a28d00d999e7429a0be3e27c648688065089a6cb Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Mon, 1 Oct 2018 15:32:42 +0200 Subject: [PATCH] gnu: Add simple-scanf. * gnu/packages/lisp.scm (cl-simple-scanf, ecl-simple-scanf, sbcl-simple-scanf): New variables. --- gnu/packages/lisp.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) 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)