From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Patterson Subject: [PATCH 04/12] gnu: Add bordeaux-threads. Date: Tue, 27 Sep 2016 00:15:24 -0400 Message-ID: <20160927041532.27097-5-ajpatter@uwaterloo.ca> References: <20160927041532.27097-1-ajpatter@uwaterloo.ca> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34658) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bojo6-00017y-JQ for guix-devel@gnu.org; Tue, 27 Sep 2016 00:15:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bojo4-0002rI-Cq for guix-devel@gnu.org; Tue, 27 Sep 2016 00:15:49 -0400 Received: from mailservices.uwaterloo.ca ([129.97.128.141]:45664 helo=minos.uwaterloo.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bojo4-0002rA-5d for guix-devel@gnu.org; Tue, 27 Sep 2016 00:15:48 -0400 In-Reply-To: <20160927041532.27097-1-ajpatter@uwaterloo.ca> 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" To: guix-devel@gnu.org * gnu/packages/lisp.scm (bordeaux-threads, bordeaux-threads-sbcl) (bordeaux-threads-ecl): New variables. --- gnu/packages/lisp.scm | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm index 64bfc92..91f24ca 100644 --- a/gnu/packages/lisp.scm +++ b/gnu/packages/lisp.scm @@ -608,3 +608,48 @@ interactive development model in mind.") (inputs `(("fiveam" ,fiveam) ("alexandria-ecl" ,alexandria-ecl))) (propagated-inputs '()))) + +(define-public bordeaux-threads + (package + (name "bordeaux-threads") + (version "0.8.5") + (source (origin + (method url-fetch) + (uri (string-append + "https://github.com/sionescu/bordeaux-threads/archive/v" + version ".tar.gz")) + (sha256 + (base32 "10ryrcx832fwqdawb6jmknymi7wpdzhi30qzx7cbrk0cpnka71w2")) + (file-name (string-append name "-" version ".tar.gz")))) + (propagated-inputs `(("alexandria" ,alexandria))) + (build-system asdf-build-system/source) + (synopsis "Portable shared-state concurrency library for Common Lisp") + (description "BORDEAUX-THREADS is a proposed standard for a minimal +MP/Threading interface. It is similar to the CLIM-SYS threading and lock +support.") + (home-page "https://common-lisp.net/project/bordeaux-threads/") + (license license:expat))) + +(define-public bordeaux-threads-sbcl + (package + (inherit bordeaux-threads) + (name "bordeaux-threads-sbcl") + (build-system asdf-build-system/sbcl) + (inputs `(("bordeaux-threads" ,bordeaux-threads) + ("alexandria-sbcl" ,alexandria-sbcl) + ("fiveam-sbcl" ,fiveam-sbcl))) + (propagated-inputs '()) + (arguments + '(#:test-only-systems '("fiveam"))))) + +(define-public bordeaux-threads-ecl + (package + (inherit bordeaux-threads) + (name "bordeaux-threads-ecl") + (build-system asdf-build-system/ecl) + (inputs `(("bordeaux-threads" ,bordeaux-threads) + ("alexandria-ecl" ,alexandria-ecl) + ("fiveam-ecl" ,fiveam-ecl))) + (propagated-inputs '()) + (arguments + '(#:test-only-systems '("fiveam"))))) -- 2.10.0