summaryrefslogtreecommitdiff
path: root/gnu/packages/chez.scm
diff options
context:
space:
mode:
authorFederico Beffa <beffa@fbengineering.ch>2016-10-16 15:49:36 +0200
committerFederico Beffa <beffa@fbengineering.ch>2016-10-19 08:44:11 +0200
commitc344b85dd089db106bbd76fe756f1138662f9753 (patch)
tree7e45820f185a971b78b0df83a50b0569790dbcab /gnu/packages/chez.scm
parent13bbc0cc94902a9f442d8c594f3970afcf90bda5 (diff)
gnu: Add chez-srfi.
* gnu/packages/chez.scm (chez-srfi): New variable.
Diffstat (limited to 'gnu/packages/chez.scm')
-rw-r--r--gnu/packages/chez.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/chez.scm b/gnu/packages/chez.scm
index 6b694b8ef1..8d562d7d61 100644
--- a/gnu/packages/chez.scm
+++ b/gnu/packages/chez.scm
@@ -194,3 +194,31 @@ Revised^6 Report on Scheme (R6RS), with numerous extensions. The compiler
generates native code for each target processor, with support for x86, x86_64,
and 32-bit PowerPC architectures.")
(license asl2.0)))
+
+(define-public chez-srfi
+ (package
+ (name "chez-srfi")
+ (version "1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://github.com/fedeinthemix/chez-srfi/archive"
+ "/v" version ".tar.gz"))
+ (sha256
+ (base32 "17i4wly7bcr5kb5hf04ljpbvv4r5hsr9xsmw650fj43z9jr303gs"))
+ (file-name (string-append name "-" version ".tar.gz"))))
+ (build-system gnu-build-system)
+ (native-inputs
+ `(("chez-scheme" ,chez-scheme)))
+ (arguments
+ `(#:make-flags (let ((out (assoc-ref %outputs "out")))
+ (list (string-append "PREFIX=" out)))
+ #:test-target "test"
+ #:phases (modify-phases %standard-phases
+ (delete 'configure))))
+ (home-page "https://github.com/fedeinthemix/chez-srfi")
+ (synopsis "SRFI libraries for Chez Scheme")
+ (description
+ "This package provides a collection of SRFI libraries for Chez Scheme.")
+ (license expat)))