From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id cLPaAVly4Gb/BAEAe85BDQ:P1 (envelope-from ) for ; Tue, 10 Sep 2024 16:22:49 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id cLPaAVly4Gb/BAEAe85BDQ (envelope-from ) for ; Tue, 10 Sep 2024 18:22:49 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=YmR+vrag; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=SO98ybtw; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1725985368; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=GsVxUFPVPvrBjyO0TMj0E41aiyKsVHSAqjTnedd8JOQ=; b=ZaWAuRFcqwBN/UoRJZ2cEXYPR+ZCeEz3WvPlkZ6Sy01bWCQTWzHTqCOWWmtuWVPL+HOD/a +W3oroaWUBs0cpzUoS6r+4Vtmh8oltCis5ptEgUoxAw9kOgnztTdqJh7noFYIydarbn3pv Kle2OlXnIDCXztz8mLxow5E1ZDaqP+hpiSSNgULAC7mTUuqAP+2Hwrt91DdqDS7ZGpdY3M cw+YzLD9R0mAC1zQzJfORAjU56UEL9gQSVhJF+RdG0WFKXBP4X8UbM9vf1C9+gpaxJureI Y4RnHzGf6yQTyV/kQ/2iNh2FwepVx/8rM3rmsWJd+sgnkoQ3iZpki7bSX7YCGA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1725985368; a=rsa-sha256; cv=none; b=VyGkb7avVNAVyj7Xh5iz7zPVVWM6GBjhjuB4rxe6KpE+DKZO+zCNW51AQ7JX+5hAkIQ1XA +jF2/MmaJAf3s91roDLH5ZPTsB35uuNS42LUMIgJtn341pUUiTy2LlSYOpgZJbPThEboDL HlWoz9Y4dz7IFUeg/xajGxb0+fjAXUIWbL4oqdz3R20W4EnyhlouoUp+aj01sqrmsYZYCg LF1IenvsWUi95qauO6aDQ4pPoL+pWfhotehPRWH1ZAnmV9DAbLzuZFw/K2jaUd0WJ5fGL3 qVItEBETPgs+WSdTuSXB4uAVVwywzmDjkY1Dwb6w9T+KWovgfgtusyOlXl2kCA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=YmR+vrag; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=SO98ybtw; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C5A321CB69 for ; Tue, 10 Sep 2024 18:22:48 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1so3cy-0002Wn-5B; Tue, 10 Sep 2024 12:22:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1so3cr-0002QI-BZ for guix-patches@gnu.org; Tue, 10 Sep 2024 12:21:58 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1so3cr-0004uv-1u for guix-patches@gnu.org; Tue, 10 Sep 2024 12:21:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=GsVxUFPVPvrBjyO0TMj0E41aiyKsVHSAqjTnedd8JOQ=; b=YmR+vragMeHtdelTbf5Woacy5+/ihdCRSitRlKQel9abgtc2z9HILZzH/qhH9lDiU8Sb2eqpeIBx62tey89/0OXS0Zv+LBYLrZkbk/7OBH08BbR9OrbJfvMIFxvLNRafGJbENNrBiXpcX8t8qT91Wm+XMzcNhJtivrNHk6TWqg75/UoSNd0w+DGQp1EnaJCW20WSVqmyfWP2c1hCGikL7uXll2diYC9wkBQC8e9CRdwn2CKiu5eR0q2pMxhYPolHdZlJYXkIvHXJsHGmYC1t8OXXfIZk0RZpHDSIhVYyk9+WoEoJOyZ/SQxaJ3OC4PxansX1bbmoJ1YyvPvHgM2zVA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1so3cv-0004yk-Su; Tue, 10 Sep 2024 12:22:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73170] [PATCH] gnu: Add cl-async-process. Resent-From: jgart Original-Sender: "Debbugs-submit" Resent-CC: glv@posteo.net, cox.katherine.e+guix@gmail.com, me@bonfacemunyoki.com, sharlatanus@gmail.com, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Tue, 10 Sep 2024 16:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 73170 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73170@debbugs.gnu.org Cc: jgart , Guillaume Le Vaillant , Katherine Cox-Buday , Munyoki Kilyungi , Sharlatan Hellseher , jgart X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Guillaume Le Vaillant , Katherine Cox-Buday , Munyoki Kilyungi , Sharlatan Hellseher , jgart Received: via spool by submit@debbugs.gnu.org id=B.172598528319079 (code B ref -1); Tue, 10 Sep 2024 16:22:01 +0000 Received: (at submit) by debbugs.gnu.org; 10 Sep 2024 16:21:23 +0000 Received: from localhost ([127.0.0.1]:36881 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1so3cI-0004xe-M2 for submit@debbugs.gnu.org; Tue, 10 Sep 2024 12:21:23 -0400 Received: from lists.gnu.org ([209.51.188.17]:43302) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1so3cG-0004xW-GT for submit@debbugs.gnu.org; Tue, 10 Sep 2024 12:21:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1so3cA-0001DB-HB for guix-patches@gnu.org; Tue, 10 Sep 2024 12:21:14 -0400 Received: from mx2.dismail.de ([159.69.191.136]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1so3c5-0004gU-Vb for guix-patches@gnu.org; Tue, 10 Sep 2024 12:21:13 -0400 Received: from mx2.dismail.de (localhost [127.0.0.1]) by mx2.dismail.de (OpenSMTPD) with ESMTP id 59be9a58 for ; Tue, 10 Sep 2024 18:21:05 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc :subject:date:message-id:mime-version:content-transfer-encoding; s=20190914; bh=x661ykv+e3Mx9V3o6cG3w7Fx2fVCNbW1i0NTJ95CIuU=; b= SO98ybtwI4g8W9TfZ0ZReU2av5frN0uQPxtOj6LXV0dMXTQ6eoHzGHIzeIwCHTVO SOYVuNy1XoAxzMP67K7OG2x8QLLB0B+nfV763iNmy+7GQdTLjsrRZQUpE+CWEROK 57hMKV+dmD132HTbFVeTJ/1XBSu9xRvLUaPATAGAzzaQqe97EeSVTn9zLY0aBJz8 02awY83y/9eqPc2xYK47TgEBxLtdIFJrzeKwne344ZhDqMbXsuTExs/DK5JjibB5 A8qULy3SM6aIbXvPJ/PMsM7tzzfW3jdEQwt5BrZQdSEkSQSj0dlnb/ftdkuD7NOj HW6Wiq/W5sEd/d3+tUfVTQ== Received: from smtp2.dismail.de ( [10.240.26.12]) by mx2.dismail.de (OpenSMTPD) with ESMTP id e49c5f76 for ; Tue, 10 Sep 2024 18:21:05 +0200 (CEST) Received: from smtp2.dismail.de (localhost [127.0.0.1]) by smtp2.dismail.de (OpenSMTPD) with ESMTP id f05a83ab for ; Tue, 10 Sep 2024 18:21:04 +0200 (CEST) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 4a99b68f (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Tue, 10 Sep 2024 18:20:59 +0200 (CEST) Date: Tue, 10 Sep 2024 11:20:44 -0500 Message-ID: <21b927da240259b41c3ceee1a246019095509740.1725985244.git.jgart@dismail.de> X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=159.69.191.136; envelope-from=jgart@dismail.de; helo=mx2.dismail.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: jgart X-ACL-Warn: , jgart via Guix-patches From: jgart via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: C5A321CB69 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -5.39 X-Spam-Score: -5.39 X-TUID: sW1PAnS94hu1 * gnu/packages/lisp-xyz.scm (cl-async-process, ecl-async-process, sbcl-async-process): New variables. Change-Id: I4e4707ffa30b6fcd1267e681f71a874c790746f4 --- gnu/packages/lisp-xyz.scm | 75 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index 02eb3514ee..eaaaa17f99 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -81,6 +81,7 @@ (define-module (gnu packages lisp-xyz) #:use-module (guix build-system trivial) #:use-module (guix build-system emacs) #:use-module (gnu packages audio) + #:use-module (gnu packages autotools) #:use-module (gnu packages base) #:use-module (gnu packages c) #:use-module (gnu packages compression) @@ -2850,6 +2851,80 @@ (define-public cl-cells (define-public ecl-cells (sbcl-package->ecl-package sbcl-cells)) +(define (async-process-origin commit name version) + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/lem-project/async-process") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1m2sfgfg6c0gqqy1pqsahsiw3j25y473mfw7sx0akkqbhwhm7mjb")) + (modules '((guix build utils))) + (snippet + ;; Delete precompiled artifacts. + `(begin + (for-each delete-file-recursively + (list "static" + "static_old0001-819cbf6")))))) + +(define async-process-c-sources + (let ((commit "9690530fc92b59636d9f17d821afa7697e7c8ca4") + (revision "0")) + (package + (name "async-process-c-sources") + (version (git-version "0.0.1" revision commit)) + (source (async-process-origin commit name version)) + (build-system gnu-build-system) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (replace 'bootstrap + (lambda _ + (invoke "libtoolize") + (invoke "aclocal") + (invoke "autoheader") + (invoke "automake" "-a") + (invoke "autoconf")))))) + (native-inputs (list autoconf automake libtool)) + (home-page "https://github.com/lem-project/async-process") + (synopsis "Asynchronous process execution for Common Lisp") + (description "This library provides an asynchronous process +execution mechanism for Common Lisp.") + (license license:expat)))) + +(define-public sbcl-async-process + (let ((commit "9690530fc92b59636d9f17d821afa7697e7c8ca4") + (revision "0")) + (package + (name "sbcl-async-process") + (version (git-version "0.0.1" revision commit)) + (source (async-process-origin commit name version)) + (build-system asdf-build-system/sbcl) + (arguments + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'fix-paths + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "src/async-process.lisp" + (("libasyncprocess\\.so") + (search-input-file inputs + "/lib/async-process/libasyncprocess.so")))))))) + (inputs (list async-process-c-sources sbcl-cffi)) + (home-page "https://github.com/lem-project/async-process") + (synopsis "Asynchronous process execution for Common Lisp") + (description "This library provides an asynchronous process +execution mechanism for Common Lisp.") + (license license:expat)))) + +(define-public cl-async-process + (sbcl-package->cl-source-package sbcl-async-process)) + +(define-public ecl-async-process + (sbcl-package->ecl-package sbcl-async-process)) + (define-public sbcl-cephes (let ((commit "d87146fa38c8425ffb5fe425eee5eb3e818bacd4") (revision "0")) base-commit: f977cb2b609f7122db2cf026cac5ab9d6d44a206 -- 2.46.0