From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id MP+rM77AS2QlPwEASxT56A (envelope-from ) for ; Fri, 28 Apr 2023 14:49:02 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id oGqeM77AS2ThfQEA9RJhRA (envelope-from ) for ; Fri, 28 Apr 2023 14:49:02 +0200 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 EEA3D8227 for ; Fri, 28 Apr 2023 14:49:01 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1psNWu-0004Ia-BW; Fri, 28 Apr 2023 08:48:52 -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 1psGeI-00016N-JB for guix-patches@gnu.org; Fri, 28 Apr 2023 01:28:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1psGeI-0007gE-58 for guix-patches@gnu.org; Fri, 28 Apr 2023 01:28:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1psGeH-0005l3-Nv for guix-patches@gnu.org; Fri, 28 Apr 2023 01:28:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63138] [PATCH] gnu: Add chatgpt-shell. Resent-From: Dakota Logan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 28 Apr 2023 05:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 63138 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63138@debbugs.gnu.org Cc: Dakota Logan X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.168265963022068 (code B ref -1); Fri, 28 Apr 2023 05:28:01 +0000 Received: (at submit) by debbugs.gnu.org; 28 Apr 2023 05:27:10 +0000 Received: from localhost ([127.0.0.1]:60226 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1psGdR-0005jq-2b for submit@debbugs.gnu.org; Fri, 28 Apr 2023 01:27:10 -0400 Received: from lists.gnu.org ([209.51.188.17]:33672) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ps5i7-00059p-GZ for submit@debbugs.gnu.org; Thu, 27 Apr 2023 13:47:16 -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 1ps5i7-0007tc-AT for guix-patches@gnu.org; Thu, 27 Apr 2023 13:47:15 -0400 Received: from mx1.riseup.net ([198.252.153.129]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ps5hz-0004O1-DA for guix-patches@gnu.org; Thu, 27 Apr 2023 13:47:14 -0400 Received: from fews02-sea.riseup.net (fews02-sea-pn.riseup.net [10.0.1.112]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx1.riseup.net (Postfix) with ESMTPS id 4Q6jqC4JpYzDqtg for ; Thu, 27 Apr 2023 17:47:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1682617623; bh=WzLuSn+OJZWm7074amv/tKonIb1xCJfPbjU+91KANYQ=; h=From:To:Cc:Subject:Date:From; b=L1fk9EUxBt3u5iqt8sAx+1U82pvReEHtxW81OEHjdh+QFN1cNxCA8/jH1CRs3eD5p aOQnIoKftPHMLBESGbdrmrYMCJxh23KM5wOaChJQ6zZXPSDjPNM7JfmJ65yM+/ISQ3 ccU9tHsNoU3xKhOqdWCp6XFDb8Z+fxv3iJ0Lf1ys= X-Riseup-User-ID: 5D07C442968580C15F682D9B303C11E2F2A8AFD3C29EA5F5DA05F3346BF9357D Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews02-sea.riseup.net (Postfix) with ESMTPSA id 4Q6jqC0sQPzFqgp; Thu, 27 Apr 2023 17:47:02 +0000 (UTC) From: Dakota Logan Date: Thu, 27 Apr 2023 13:46:50 -0400 Message-Id: <20230427174650.2034958-1-dklogan@riseup.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=198.252.153.129; envelope-from=dklogan@riseup.net; helo=mx1.riseup.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 28 Apr 2023 01:27:07 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Fri, 28 Apr 2023 08:48:50 -0400 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1682686142; a=rsa-sha256; cv=none; b=LbuHqN2GeyDz3XmWSHOALd16atHLif5G6gAtcto3bUSW6p8w6X6YAcLx96O0Xr9xHNUfOi zPUg1tL3CkZFLbO1xTte8wsK6P69kjeQzN8oCExH38JJWdqxkiGOI66mE6xAVQww0mnEj3 yXFXtHKHnI+pDI2yEffutVUZ6cxw+8W9YTBz2N7SNivN9NNoSdnWhRZHe8LFdxeHY3klGU 56E3XDbumd3ISCqL5j5sTW0Hj92I7oeibqPU7GfuzRkWGRcDuVgyijiim1x1TpoGkdZUSJ 56I9xENKBgAc/By0NqLJ6lqIxZ6lE+ecb2WrkAdASy/hkJfbCRBwA9ao5RQvuA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=L1fk9EUx; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (policy=none); 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=1682686142; h=from:from:sender:sender: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=PRAf1bS91cT0wFpbqZZc20XiLby9Us+mjL5vQrExI+o=; b=C38tl57jHI7Tu24wBcF6v9SS0LprlywatCNSfCeX/CTMbP4/+jQM/ATOkn683Um01Jellt ymqu/TZL1C8yp7JXeNgbw16f+H9DDjJbJWT7HSC7Yel0tgqbeHIlSJoT/JYz7q/SIWkFe5 GymZBA0eL9sNik99JWcjeT0hlIGbhJj6HD5vd2IsWAfllrRIv/7MaiFyDwfFux3KWEMY8J Nfcg9r/7HnYpXmfQpZACCLYbrU7D414XeIrV1e5W/pJffuLqQUr0wzsB7UUmA0CILuTq1t TRzfABvaLZzfVGPgkN+LnzAZnpBKih/x6I98ec91Ck217+jdq6lTRIVMVoMtHQ== X-Migadu-Spam-Score: -0.31 X-Spam-Score: -0.31 X-Migadu-Queue-Id: EEA3D8227 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=L1fk9EUx; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (policy=none); 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" X-TUID: DgvLR7KijY5s * gnu/packages/emacs-xyz.scm (emacs-chatgpt-shell, emacs-shell-maker): New variables. --- gnu/packages/emacs-xyz.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 3fa367ce74..2f934537a4 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -444,6 +444,41 @@ favourite Scheme implementation, you also need the corresponding geiser package, e.g. emacs-geiser-guile for Guile.") (license license:bsd-3))) +(define-public emacs-shell-maker +(package + (name "emacs-shell-maker") + (version "20230427.808") + (source (origin + (method url-fetch) + (uri (string-append "https://melpa.org/packages/shell-maker-" + version ".el")) + (sha256 + (base32 + "19qamx8rkll2xmkp85dx9qxvlbmcj8d35fksjssa1s05y1akmwad")))) + (build-system emacs-build-system) + (home-page "https://github.com/xenodium/chatgpt-shell") + (synopsis "Emacs wraparound for comint-mode for creating local and cloud shells") + (description "@code{emacs-shell-maker} is a library building on Emacs comint-mode. It allows users to conveniently create shells for local and cloud LLM services, such as ChatGPT.") + (license license:gpl3+))) + +(define-public emacs-chatgpt-shell +(package + (name "emacs-chatgpt-shell") + (version "20230427.808") + (source (origin + (method url-fetch) + (uri (string-append "https://melpa.org/packages/chatgpt-shell-" + version ".el")) + (sha256 + (base32 + "0plhxmn4ggxw5ph002ggh3j9v5g2dghr742r0287hprl7r0wcisz")))) + (build-system emacs-build-system) + (propagated-inputs (list emacs-shell-maker)) + (home-page "https://github.com/xenodium/chatgpt-shell") + (synopsis "ChatGPT shell for Emacs") + (description "@code{emacs-chatgpt-shell} is a client for interacting with the ChatGPT and DALL-E LLM services. Building on comint-mode and the @code{emacs-shell-maker} library, it allows the user to interact with the service via a custom shell or an Org-mode buffer.") + (license license:gpl3+))) + (define-public emacs-gptel (package (name "emacs-gptel") base-commit: d59b4764f3171b1430a6d3b954659b8aab730475 -- 2.30.2