summaryrefslogtreecommitdiff
path: root/gnu/packages/chicken.scm
diff options
context:
space:
mode:
authorraingloom <raingloom@riseup.net>2020-10-13 09:53:40 +0200
committerLudovic Courtès <ludo@gnu.org>2020-12-03 16:18:44 +0100
commit59fbfcfb5502c415b9478ddc5a57cc580a0f2a61 (patch)
treeb3fad0140c1088330f596db153d60f9eed78c388 /gnu/packages/chicken.scm
parentbb1b37d8811916aa91b3d9d255db09ff2051ed11 (diff)
gnu: Add chicken-datatype.
* gnu/packages/chicken.scm (chicken-datatype): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/chicken.scm')
-rw-r--r--gnu/packages/chicken.scm30
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/chicken.scm b/gnu/packages/chicken.scm
index e562ec6e79..12a0b63ad3 100644
--- a/gnu/packages/chicken.scm
+++ b/gnu/packages/chicken.scm
@@ -138,6 +138,36 @@ CHICKEN Scheme, along with
@uref{https://srfi.schemers.org/srfi-90/srfi-90.html, SRFI-90} extensions.")
(license license:bsd-3)))
+(define-public chicken-datatype
+ (package
+ (name "chicken-datatype")
+ (version "1.6")
+ (source
+ (origin
+ (method svn-fetch)
+ (uri (svn-reference
+ (url (string-append "https://code.call-cc.org/svn/chicken-eggs/"
+ "release/5/datatype/tags/" version))
+ (revision 39266)
+ (user-name "anonymous")
+ (password "")))
+ (file-name (string-append "chicken-datatype-" version "-checkout"))
+ (sha256
+ (base32
+ "1a58q8ypjkjz6wdv25247wixds4179239d36nnvsfn6gp70s9jfq"))))
+ (build-system chicken-build-system)
+ (arguments '(#:egg-name "datatype"))
+ (inputs
+ `(("chicken-srfi-1" ,chicken-srfi-1)
+ ("chicken-test" ,chicken-test)))
+ (home-page "https://wiki.call-cc.org/eggref/5/datatype")
+ (synopsis "Facility for creating and using variant records")
+ (description
+ "This CHICKEN Scheme library provides a facility for creating and using
+variant records, as described in the book @i{Essentials of Programming
+Languages} by Friedman, Wand, and Haynes.")
+ (license license:bsd-3)))
+
(define-public chicken-iset
(package
(name "chicken-iset")