gnu: Add ascii-strings.

* gnu/packages/lisp.scm (cl-ascii-strings, ecl-ascii-strings, sbcl-ascii-strings): New variables.
This commit is contained in:
Pierre Neidhardt 2018-08-24 11:36:22 +02:00 committed by Pierre Neidhardt
parent 8d8d1c8d6c
commit a927eb3653
No known key found for this signature in database
GPG Key ID: 9BDCF497A4BBCC7F
1 changed files with 36 additions and 0 deletions

View File

@ -31,6 +31,7 @@
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module (guix hg-download)
#:use-module (guix utils)
#:use-module (guix build-system gnu)
#:use-module (guix build-system asdf)
@ -2258,3 +2259,38 @@ pretty, documentation is code.")
(define-public ecl-mgl-pax
(sbcl-package->ecl-package sbcl-mgl-pax))
(define-public sbcl-ascii-strings
(let ((revision "1")
(changeset "5048480a61243e6f1b02884012c8f25cdbee6d97"))
(package
(name "sbcl-ascii-strings")
(version (string-append "0-" revision "." (string-take changeset 7)))
(source
(origin
(method hg-fetch)
(uri (hg-reference
(url "https://bitbucket.org/vityok/cl-string-match/")
(changeset changeset)))
(sha256
(base32
"01wn5qx562w43ssy92xlfgv79w7p0nv0wbl76mpmba131n9ziq2y"))
(file-name (git-file-name "cl-string-match" version))))
(build-system asdf-build-system/sbcl)
(inputs
`(("alexandria" ,sbcl-alexandria)
("babel" ,sbcl-babel)))
(arguments
`(#:asd-file "ascii-strings.asd"))
(synopsis "Operations on ASCII strings")
(description
"Operations on ASCII strings. Essentially this can be any kind of
single-byte encoded strings.")
(home-page "https://bitbucket.org/vityok/cl-string-match/")
(license license:bsd-3))))
(define-public cl-ascii-strings
(sbcl-package->cl-source-package sbcl-ascii-strings))
(define-public ecl-ascii-strings
(sbcl-package->ecl-package sbcl-ascii-strings))