[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
13/38: gnu: Add parse-float.
From: |
Pierre Neidhardt |
Subject: |
13/38: gnu: Add parse-float. |
Date: |
Tue, 2 Oct 2018 14:00:10 -0400 (EDT) |
ambrevar pushed a commit to branch wip-next-browser
in repository guix.
commit 0d3962570653e700cd407ee5c9d8a193f4618edc
Author: Pierre Neidhardt <address@hidden>
Date: Mon Oct 1 15:31:59 2018 +0200
gnu: Add parse-float.
* gnu/packages/lisp.scm (cl-parse-float, ecl-parse-float,
sbcl-parse-float): New variables.
---
gnu/packages/lisp.scm | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm
index 996cdc6..1e934b8 100644
--- a/gnu/packages/lisp.scm
+++ b/gnu/packages/lisp.scm
@@ -2524,6 +2524,44 @@ pattern-matching-like, but a char-by-char procedural
parser.")
(define-public ecl-proc-parse
(sbcl-package->ecl-package sbcl-proc-parse))
+(define-public sbcl-parse-float
+ (let ((commit "2aae569f2a4b2eb3bfb5401a959425dcf151b09c"))
+ (package
+ (name "sbcl-parse-float")
+ (version (git-version "0.0.0" "1" commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/soemraws/parse-float")
+ (commit commit)))
+ (sha256
+ (base32
+ "08xw8cchhmqcc0byng69m3f5a2izc9y2290jzz2k0qrbibp1fdk7"))
+ (file-name (git-file-name "proc-parse" version))))
+ (build-system asdf-build-system/sbcl)
+ (inputs
+ `(("alexandria" ,sbcl-alexandria)
+ ("babel" ,sbcl-babel)))
+ (native-inputs
+ `(("prove" ,sbcl-prove)
+ ("prove-asdf" ,sbcl-prove-asdf)))
+ (arguments
+ ;; TODO: Tests don't find "proc-parse-test", why?
+ `(#:tests? #f))
+ (synopsis "Parse a floating point value from a string in Common Lisp")
+ (description
+ "This package exports the following function to parse floating-point
+values from a string in Common Lisp.")
+ (home-page "https://github.com/soemraws/parse-float")
+ (license license:bsd-2))))
+
+(define-public cl-parse-float
+ (sbcl-package->cl-source-package sbcl-parse-float))
+
+(define-public ecl-parse-float
+ (sbcl-package->ecl-package sbcl-parse-float))
+
(define-public sbcl-ascii-strings
(let ((revision "1")
(changeset "5048480a61243e6f1b02884012c8f25cdbee6d97"))
- branch wip-next-browser updated (0b60fc7 -> af29450), Pierre Neidhardt, 2018/10/02
- 03/38: mgl-pax (FIX), Pierre Neidhardt, 2018/10/02
- 02/38: slime-swank (FIX), Pierre Neidhardt, 2018/10/02
- 04/38: gnu: Add lisp-unit., Pierre Neidhardt, 2018/10/02
- 01/38: next-browser (FIX), Pierre Neidhardt, 2018/10/02
- 11/38: gnu: Add prove., Pierre Neidhardt, 2018/10/02
- 05/38: gnu: Add anaphora., Pierre Neidhardt, 2018/10/02
- 13/38: gnu: Add parse-float.,
Pierre Neidhardt <=
- 10/38: gnu: Add prove-asdf., Pierre Neidhardt, 2018/10/02
- 07/38: gnu: Add let-plus., Pierre Neidhardt, 2018/10/02
- 09/38: gnu: Add cl-ansi-text., Pierre Neidhardt, 2018/10/02
- 12/38: gnu: Add proc-parse., Pierre Neidhardt, 2018/10/02
- 18/38: build-system/asdf (FIX), Pierre Neidhardt, 2018/10/02
- 20/38: lift (FIX), Pierre Neidhardt, 2018/10/02
- 28/38: gnu: Add queues., Pierre Neidhardt, 2018/10/02
- 21/38: let-plus (FIX), Pierre Neidhardt, 2018/10/02
- 24/38: prove-asdf (FIX), Pierre Neidhardt, 2018/10/02
- 29/38: gnu: Add queues.simple-queue., Pierre Neidhardt, 2018/10/02