diff mbox

[02/15] gnu: Add chez-srfi.

Message ID CAKrPhPNjLWGmLaxi1RnkJvz+kBs4c2eQAbJHk9_Gqe4ap-=rAg@mail.gmail.com
State New
Headers show

Commit Message

Federico Beffa Oct. 16, 2016, 3:31 p.m. UTC

Comments

Ludovic Court├Ęs Oct. 17, 2016, 1:34 p.m. UTC | #1
Federico Beffa <beffa@ieee.org> skribis:

> From 1433f85bd0ba7fa0239b200f693e9b2ffcc8e039 Mon Sep 17 00:00:00 2001
> From: Federico Beffa <beffa@fbengineering.ch>
> Date: Sun, 16 Oct 2016 15:49:36 +0200
> Subject: [PATCH 02/15] gnu: Add chez-srfi.
>
> * gnu/packages/chez.scm (chez-srfi): New variable.

OK!
diff mbox

Patch

From 1433f85bd0ba7fa0239b200f693e9b2ffcc8e039 Mon Sep 17 00:00:00 2001
From: Federico Beffa <beffa@fbengineering.ch>
Date: Sun, 16 Oct 2016 15:49:36 +0200
Subject: [PATCH 02/15] gnu: Add chez-srfi.

* gnu/packages/chez.scm (chez-srfi): New variable.
---
 gnu/packages/chez.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/chez.scm b/gnu/packages/chez.scm
index 9009865..68591da 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)))
-- 
2.7.4