From patchwork Sat Oct 19 07:25:53 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guillaume Le Vaillant X-Patchwork-Id: 15771 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 0452C17564; Sat, 19 Oct 2019 08:27:11 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id B73231749C for ; Sat, 19 Oct 2019 08:27:10 +0100 (BST) Received: from localhost ([::1]:50120 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iLj8o-0000hf-AP for patchwork@mira.cbaines.net; Sat, 19 Oct 2019 03:27:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34556) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iLj8i-0000hY-4z for guix-patches@gnu.org; Sat, 19 Oct 2019 03:27:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iLj8g-00076I-V3 for guix-patches@gnu.org; Sat, 19 Oct 2019 03:27:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43036) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iLj8g-00076A-SO for guix-patches@gnu.org; Sat, 19 Oct 2019 03:27:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iLj8g-0007Xs-M5 for guix-patches@gnu.org; Sat, 19 Oct 2019 03:27:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#37821] [PATCH] gnu: Add simple-parallel-tasks. Resent-From: Guillaume Le Vaillant Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 19 Oct 2019 07:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 37821 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 37821@debbugs.gnu.org Cc: Guillaume Le Vaillant X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.157147001028969 (code B ref -1); Sat, 19 Oct 2019 07:27:02 +0000 Received: (at submit) by debbugs.gnu.org; 19 Oct 2019 07:26:50 +0000 Received: from localhost ([127.0.0.1]:51857 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iLj8S-0007X9-NW for submit@debbugs.gnu.org; Sat, 19 Oct 2019 03:26:49 -0400 Received: from lists.gnu.org ([209.51.188.17]:52941) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iLj8Q-0007Wz-6l for submit@debbugs.gnu.org; Sat, 19 Oct 2019 03:26:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34535) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iLj8O-0000hF-Mq for guix-patches@gnu.org; Sat, 19 Oct 2019 03:26:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iLj8N-0006vP-D7 for guix-patches@gnu.org; Sat, 19 Oct 2019 03:26:44 -0400 Received: from mout02.posteo.de ([185.67.36.66]:49121) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iLj8M-0006tr-Tl for guix-patches@gnu.org; Sat, 19 Oct 2019 03:26:43 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 3C7342400FC for ; Sat, 19 Oct 2019 09:26:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1571470000; bh=pScmld3yzRyOTKI17F/JGa8M5oz4o4b/2wJGj16K68Q=; h=From:To:Cc:Subject:Date:From; b=c0JykAEkSnN/6Aua6aLkxbWCPk/bwvar7wtuH3Mk3z0q+HQi7eMhfHdtKIPFLvDgA BIh76tQBjp7CoskFnW1WxZXZGcKgXJI46T5Zn7b57QzrUia/g8PX2sr9fBQ+Fw49ii 3uXgVDOV2yxkETiotckGLUz7SaGocLkSW+2kGSgKuYaBGNLyKCqnrnWrAePOrucLAI R43OOfvwMoJiGBuzmmAAHpU542nMxi9V7rkLufWfkGSNbYrPm2xstF9zssR/E/PEL3 EhveYMyfMhwnnW5NdUjpp4YlzBtie/5ve/wDY7kwIpRvbwCeSaqER+xwYdcVd6JGEg yvmW+01OmA41w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 46wDwv2LSfz9rxG; Sat, 19 Oct 2019 09:26:38 +0200 (CEST) From: Guillaume Le Vaillant Date: Sat, 19 Oct 2019 09:25:53 +0200 Message-Id: <20191019072553.20543-1-glv@posteo.net> X-Mailer: git-send-email 2.23.0 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/lisp.scm (cl-simple-parallel-tasks, sbcl-simple-parallel-tasks, ecl-simple-parallel-tasks): New variables. --- gnu/packages/lisp.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm index bb2a589578..dcc396dd25 100644 --- a/gnu/packages/lisp.scm +++ b/gnu/packages/lisp.scm @@ -7833,3 +7833,36 @@ Clojure, as well as several expansions on the idea.") (define-public ecl-arrows (sbcl-package->ecl-package sbcl-arrows)) + +(define-public sbcl-simple-parallel-tasks + (let ((commit "db460f7a3f7bbfe2d3a2223ed21e162068d04dda") + (revision "0")) + (package + (name "sbcl-simple-parallel-tasks") + (version (git-version "1.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/glv2/simple-parallel-tasks.git") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0amw3qk23wnlyrsgzszs6rs7y4zvxv8dr03rnqhc60mnm8ds4dd5")))) + (build-system asdf-build-system/sbcl) + (native-inputs + `(("fiveam" ,sbcl-fiveam))) + (inputs + `(("chanl" ,sbcl-chanl))) + (synopsis "Common Lisp library to evaluate some forms in parallel") + (description "This is a simple Common Lisp library to evaluate some +forms in parallel.") + (home-page "https://github.com/glv2/simple-parallel-tasks") + (license license:gpl3)))) + +(define-public cl-simple-parallel-tasks + (sbcl-package->cl-source-package sbcl-simple-parallel-tasks)) + +(define-public ecl-simple-parallel-tasks + (sbcl-package->ecl-package sbcl-simple-parallel-tasks))