From mboxrd@z Thu Jan 1 00:00:00 1970 From: taylanbayirli@gmail.com (Taylan Ulrich =?utf-8?Q?Bay=C4=B1rl=C4=B1?= =?utf-8?Q?=2FKammer?=) Subject: [PATCH] gnu: Add chibi. Date: Mon, 16 Feb 2015 22:27:56 +0100 Message-ID: <87egppczs3.fsf@taylan.uni.cx> Mime-Version: 1.0 Content-Type: text/x-diff Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48011) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YNTCy-0001II-Bn for guix-devel@gnu.org; Mon, 16 Feb 2015 16:28:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YNTCx-0001pG-AN for guix-devel@gnu.org; Mon, 16 Feb 2015 16:28:00 -0500 Received: from mail-wi0-x230.google.com ([2a00:1450:400c:c05::230]:40654) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YNTCw-0001p6-TP for guix-devel@gnu.org; Mon, 16 Feb 2015 16:27:59 -0500 Received: by mail-wi0-f176.google.com with SMTP id h11so28710151wiw.3 for ; Mon, 16 Feb 2015 13:27:58 -0800 (PST) Received: from taylan.uni.cx (p200300514A1A69F50213E8FFFEED36FB.dip0.t-ipconnect.de. [2003:51:4a1a:69f5:213:e8ff:feed:36fb]) by mx.google.com with ESMTPSA id cj12sm24525115wjb.35.2015.02.16.13.27.57 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 Feb 2015 13:27:57 -0800 (PST) Content-Disposition: inline; filename=0001-gnu-Add-chibi.patch Content-Description: patch List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org >From 63935e1d748ab468792a064c291c3677b3de1312 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Taylan=20Ulrich=20Bay=C4=B1rl=C4=B1/Kammer?= Date: Mon, 16 Feb 2015 21:58:36 +0100 Subject: [PATCH] gnu: Add chibi. * gnu/packages/scheme.scm (chibi): New variable. --- gnu/packages/scheme.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/scheme.scm b/gnu/packages/scheme.scm index b8466e5..b0fe374 100644 --- a/gnu/packages/scheme.scm +++ b/gnu/packages/scheme.scm @@ -474,3 +474,38 @@ loaded at run time. Interpreted code and compiled code can be freely mixed.") ;; Dual license. (license (list lgpl2.1+ asl2.0)))) + +(define-public chibi + (package + (name "chibi") + (version "0.7.2") + (source + (origin + (method url-fetch) + (uri (string-append + "http://abrek.synthcode.com/chibi-scheme-" version ".tgz")) + (sha256 + (base32 "0h6k2gdb4xk2pzhdipffcg2w3kfr4zh1va556k1hvng2did6prds")))) + (build-system gnu-build-system) + (arguments + `(#:phases + (alist-delete + 'configure + (alist-cons-before + 'build 'set-cc + (lambda _ + (setenv "CC" "gcc")) + %standard-phases)) + #:make-flags (let ((out (assoc-ref %outputs "out"))) + (list (string-append "PREFIX=" out) + (string-append "LDFLAGS=-Wl,-rpath=" out "/lib"))) + #:test-target "test")) + (home-page "https://code.google.com/p/chibi-scheme/") + (synopsis "Small embeddable Scheme implementation") + (description + "Chibi-Scheme is a very small library with no external dependencies +intended for use as an extension and scripting language in C programs. In +addition to support for lightweight VM-based threads, each VM itself runs in +an isolated heap allowing multiple VMs to run simultaneously in different OS +threads.") + (license bsd-3))) -- 2.2.1