From unknown Tue Jun 17 01:42:50 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#61065] [PATCH] gnu: Add emacs-ein. Resent-From: Cayetano Santos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 25 Jan 2023 20:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 61065 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61065@debbugs.gnu.org Cc: Cayetano Santos X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167467760117239 (code B ref -1); Wed, 25 Jan 2023 20:14:02 +0000 Received: (at submit) by debbugs.gnu.org; 25 Jan 2023 20:13:21 +0000 Received: from localhost ([127.0.0.1]:60039 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pKm92-0004Ty-P3 for submit@debbugs.gnu.org; Wed, 25 Jan 2023 15:13:21 -0500 Received: from lists.gnu.org ([209.51.188.17]:38660) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pKm8v-0004TZ-GF for submit@debbugs.gnu.org; Wed, 25 Jan 2023 15:13:17 -0500 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 1pKm8v-0002uQ-7v for guix-patches@gnu.org; Wed, 25 Jan 2023 15:13:13 -0500 Received: from devianza.investici.org ([198.167.222.108]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pKm8s-0006bg-Iu for guix-patches@gnu.org; Wed, 25 Jan 2023 15:13:13 -0500 Received: from mx2.investici.org (unknown [127.0.0.1]) by devianza.investici.org (Postfix) with ESMTP id 4P2FPy3HY1z6vNL; Wed, 25 Jan 2023 20:12:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inventati.org; s=stigmate; t=1674677574; bh=bd/g3sGVIKdaAjM93dUs6EE1pZ2BaC76/3dUSBlxG34=; h=From:To:Cc:Subject:Date:From; b=Q/uHdcYtJ7B43zhfDbXLzuevYxU0GFcqtxApH38iIQWh9jw+xSXIiJDNkmdi2GBSe 9NMzeIhgyyyBUOiSceBgvqMSnegsEkesZFr1QvIMs8saYSq2/gDibGgihrRcFeBi1n DiVlKdvoLm0DslOqigvOp96/N0T1YzOvREOpOQbY= Received: from [198.167.222.108] (mx2.investici.org [198.167.222.108]) (Authenticated sender: cayetano.santos@inventati.org) by localhost (Postfix) with ESMTPSA id 4P2FPy0pzMz6vNC; Wed, 25 Jan 2023 20:12:54 +0000 (UTC) From: Cayetano Santos Date: Wed, 25 Jan 2023 21:12:36 +0100 Message-Id: <5522f1b746711316cd8a5a4005baf3233781a930.1674677551.git.csantosb@inventati.org> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=198.167.222.108; envelope-from=csantosb@inventati.org; helo=devianza.investici.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) * gnu/packages/emacs-xyz.scm (emacs-ein): New variable. --- gnu/packages/emacs-xyz.scm | 42 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index dc378581f5..30633bd52c 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -34326,6 +34326,48 @@ (define-public emacs-code-cells execute code split into cells according to certain magic comments.") (license license:gpl3+)))) +(define-public emacs-ein + (package + (name "emacs-ein") + (version "20220911") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/millejoh/emacs-ipython-notebook") + (commit "b2410dc96f61aa806a7934099d8f1e40c8f6ca18"))) + (sha256 + (base32 + "02392bxl0msda58cls0i79mzqjs73x39czx0mlb0sg2vxp84gy15")))) + (build-system emacs-build-system) + (arguments + (list #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'move-source-files + (lambda _ + (let ((el-files (find-files "./lisp" ".*\\.el$"))) + (for-each (lambda (f) + (rename-file f (basename f))) + el-files))))))) + (propagated-inputs (list emacs-websocket + emacs-anaphora + emacs-request + emacs-deferred + emacs-polymode + emacs-dash + emacs-with-editor)) + (home-page "https://github.com/millejoh/emacs-ipython-notebook") + (synopsis "Jupyter client for all languages") + (description + "The Emacs IPython Notebook (EIN) package provides a Jupyter Notebook +client and integrated REPL (like SLIME) in Emacs. EIN improves notebook +editing by allowing you to use Emacs. It also expose IPython features such as +code evaluation, object inspection and code completion. These features can be +accessed anywhere in Emacs and improve Python code editing and reading in +general in Emacs.") + (license license:gpl3+))) + (define-public emacs-kibit-helper (package (name "emacs-kibit-helper") base-commit: 968b882f55c4d1009e62c603a860edfaee1609ad -- 2.39.1 From unknown Tue Jun 17 01:42:50 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#61065] [PATCH] gnu: Add emacs-ein. Resent-From: Nicolas Goaziou Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 27 Jan 2023 08:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61065 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61065@debbugs.gnu.org Cc: csantosb@inventati.org X-Debbugs-Original-To: Cayetano Santos via Guix-patches via X-Debbugs-Original-Cc: 61065@debbugs.gnu.org, Cayetano Santos Received: via spool by submit@debbugs.gnu.org id=B.167480927828456 (code B ref -1); Fri, 27 Jan 2023 08:48:02 +0000 Received: (at submit) by debbugs.gnu.org; 27 Jan 2023 08:47:58 +0000 Received: from localhost ([127.0.0.1]:36708 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pLKOr-0007Ot-RW for submit@debbugs.gnu.org; Fri, 27 Jan 2023 03:47:58 -0500 Received: from lists.gnu.org ([209.51.188.17]:40734) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pLKOr-0007Oj-57 for submit@debbugs.gnu.org; Fri, 27 Jan 2023 03:47:57 -0500 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 1pLKOn-0001Sv-Bs for guix-patches@gnu.org; Fri, 27 Jan 2023 03:47:53 -0500 Received: from relay3-d.mail.gandi.net ([2001:4b98:dc4:8::223]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pLKOl-00013Z-Oz for guix-patches@gnu.org; Fri, 27 Jan 2023 03:47:53 -0500 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by mail.gandi.net (Postfix) with ESMTPSA id 60BD260009; Fri, 27 Jan 2023 08:47:44 +0000 (UTC) From: Nicolas Goaziou References: <5522f1b746711316cd8a5a4005baf3233781a930.1674677551.git.csantosb@inventati.org> Date: Fri, 27 Jan 2023 09:47:36 +0100 In-Reply-To: <5522f1b746711316cd8a5a4005baf3233781a930.1674677551.git.csantosb@inventati.org> (Cayetano Santos via Guix-patches via's message of "Wed, 25 Jan 2023 21:12:36 +0100") Message-ID: <87pmb0l5xz.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2001:4b98:dc4:8::223; envelope-from=mail@nicolasgoaziou.fr; helo=relay3-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) Hello, Cayetano Santos via Guix-patches via writes: > * gnu/packages/emacs-xyz.scm (emacs-ein): New variable. Thank you. > + (propagated-inputs (list emacs-websocket > + emacs-anaphora > + emacs-request > + emacs-deferred > + emacs-polymode > + emacs-dash > + emacs-with-editor)) Could you order propagated inputs alphabetically? Also, upstream provides tests. Is it feasible to run them, too? Regards, -- Nicolas Goaziou From unknown Tue Jun 17 01:42:50 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#61065] [PATCH v2] gnu: Add emacs-ein. References: <5522f1b746711316cd8a5a4005baf3233781a930.1674677551.git.csantosb@inventati.org> In-Reply-To: <5522f1b746711316cd8a5a4005baf3233781a930.1674677551.git.csantosb@inventati.org> Resent-From: Cayetano Santos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 27 Jan 2023 10:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61065 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61065@debbugs.gnu.org Cc: Cayetano Santos Received: via spool by 61065-submit@debbugs.gnu.org id=B61065.16748137884591 (code B ref 61065); Fri, 27 Jan 2023 10:04:01 +0000 Received: (at 61065) by debbugs.gnu.org; 27 Jan 2023 10:03:08 +0000 Received: from localhost ([127.0.0.1]:36774 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pLLZb-0001Bw-I8 for submit@debbugs.gnu.org; Fri, 27 Jan 2023 05:03:07 -0500 Received: from confino.investici.org ([93.190.126.19]:20685) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pLLZX-0001BX-DF for 61065@debbugs.gnu.org; Fri, 27 Jan 2023 05:03:06 -0500 Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4P3CnK1vNXz11Yr; Fri, 27 Jan 2023 10:03:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inventati.org; s=stigmate; t=1674813781; bh=yVfc6TycALJMNHVpzlHrXobyCd3lQFogSUHmVOLdnOw=; h=From:To:Cc:Subject:Date:From; b=Wls4UJ5UpAVJzOezkNh9IrS0URJSs5CN4iwunCZhGM7PDnGhbXxh0nP0NsOyWjc/5 e46NaTQS0raWx+53xUSkAUzYDqXtm6Dex6HxUGzFt9gKn3VwlKwvV1ic4/vGD0Sb/E zXmYYR+9QYT2Xn3B1Gdob76kWV+BIXXW9i28kOog= Received: from [93.190.126.19] (mx1.investici.org [93.190.126.19]) (Authenticated sender: cayetano.santos@inventati.org) by localhost (Postfix) with ESMTPSA id 4P3CnK0zK6z11Yq; Fri, 27 Jan 2023 10:03:01 +0000 (UTC) From: Cayetano Santos Date: Fri, 27 Jan 2023 11:02:41 +0100 Message-Id: <4bb02cb0d7b3be8181fb0b8197f13795f8a110e6.1674813757.git.csantosb@inventati.org> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/emacs-xyz.scm (emacs-ein): New variable. --- gnu/packages/emacs-xyz.scm | 50 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index dc378581f5..087087444f 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -34326,6 +34326,56 @@ (define-public emacs-code-cells execute code split into cells according to certain magic comments.") (license license:gpl3+)))) +(define-public emacs-ein + (package + (name "emacs-ein") + (version "20220911") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/millejoh/emacs-ipython-notebook") + (commit "b2410dc96f61aa806a7934099d8f1e40c8f6ca18"))) + (sha256 + (base32 + "02392bxl0msda58cls0i79mzqjs73x39czx0mlb0sg2vxp84gy15")))) + (build-system emacs-build-system) + (arguments + (list + #:tests? #t + #:test-command + #~(list "emacs" "-Q" "--batch" + "-L" "test" + "--load" "test/testein-loader.el") + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'move-source-files + (lambda _ + (let ((el-files (find-files "./lisp" ".*\\.el$"))) + (for-each (lambda (f) + (rename-file f (basename f))) + el-files))))))) + (native-inputs + (list emacs-f emacs-mocker)) + (propagated-inputs (list emacs-anaphora + emacs-dash + emacs-deferred + emacs-polymode + emacs-request + emacs-websocket + emacs-with-editor)) + (home-page "https://github.com/millejoh/emacs-ipython-notebook") + (synopsis "Jupyter client for all languages") + (description + "The Emacs IPython Notebook (EIN) package provides a Jupyter Notebook +client and integrated REPL (like SLIME) in Emacs. EIN improves notebook +editing by allowing you to use Emacs. It also expose IPython features such as +code evaluation, object inspection and code completion. These features can be +accessed anywhere in Emacs and improve Python code editing and reading in +general in Emacs.") + (license license:gpl3+))) + (define-public emacs-kibit-helper (package (name "emacs-kibit-helper") base-commit: 968b882f55c4d1009e62c603a860edfaee1609ad -- 2.39.1 From unknown Tue Jun 17 01:42:50 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Cayetano Santos Subject: bug#61065: closed (Re: [bug#61065] [PATCH v2] gnu: Add emacs-ein.) Message-ID: References: <87v8krk4un.fsf@nicolasgoaziou.fr> <5522f1b746711316cd8a5a4005baf3233781a930.1674677551.git.csantosb@inventati.org> X-Gnu-PR-Message: they-closed 61065 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 61065@debbugs.gnu.org Date: Fri, 27 Jan 2023 22:09:01 +0000 Content-Type: multipart/mixed; boundary="----------=_1674857341-1973-1" This is a multi-part message in MIME format... ------------=_1674857341-1973-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #61065: [PATCH] gnu: Add emacs-ein. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 61065@debbugs.gnu.org. --=20 61065: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D61065 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1674857341-1973-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 61065-done) by debbugs.gnu.org; 27 Jan 2023 22:09:00 +0000 Received: from localhost ([127.0.0.1]:38805 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pLWu4-0000Vc-3r for submit@debbugs.gnu.org; Fri, 27 Jan 2023 17:09:00 -0500 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:45533) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pLWu1-0000VK-Vn for 61065-done@debbugs.gnu.org; Fri, 27 Jan 2023 17:08:58 -0500 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by mail.gandi.net (Postfix) with ESMTPSA id 06FE2FF804; Fri, 27 Jan 2023 22:08:50 +0000 (UTC) From: Nicolas Goaziou To: Cayetano Santos via Guix-patches via Subject: Re: [bug#61065] [PATCH v2] gnu: Add emacs-ein. References: <5522f1b746711316cd8a5a4005baf3233781a930.1674677551.git.csantosb@inventati.org> <4bb02cb0d7b3be8181fb0b8197f13795f8a110e6.1674813757.git.csantosb@inventati.org> Date: Fri, 27 Jan 2023 23:08:48 +0100 In-Reply-To: <4bb02cb0d7b3be8181fb0b8197f13795f8a110e6.1674813757.git.csantosb@inventati.org> (Cayetano Santos via Guix-patches via's message of "Fri, 27 Jan 2023 11:02:41 +0100") Message-ID: <87v8krk4un.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 61065-done Cc: Cayetano Santos , 61065-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hello, Cayetano Santos via Guix-patches via writes: > * gnu/packages/emacs-xyz.scm (emacs-ein): New variable. Thank you. I applied your patch with the following changes. > +(define-public emacs-ein > + (package > + (name "emacs-ein") > + (version "20220911") > + (source > + (origin > + (method git-fetch) > + (uri > + (git-reference > + (url "https://github.com/millejoh/emacs-ipython-notebook") > + (commit "b2410dc96f61aa806a7934099d8f1e40c8f6ca18"))) I added (file-name (git-file-name name version)) > + (sha256 > + (base32 > + "02392bxl0msda58cls0i79mzqjs73x39czx0mlb0sg2vxp84gy15")))) > + (build-system emacs-build-system) > + (arguments > + (list > + #:tests? #t > + #:test-command > + #~(list "emacs" "-Q" "--batch" > + "-L" "test" > + "--load" "test/testein-loader.el") > + #:phases > + #~(modify-phases %standard-phases > + (add-after 'unpack 'move-source-files > + (lambda _ > + (let ((el-files (find-files "./lisp" ".*\\.el$"))) > + (for-each (lambda (f) > + (rename-file f (basename f))) > + el-files))))))) > + (native-inputs > + (list emacs-f emacs-mocker)) > + (propagated-inputs (list emacs-anaphora > + emacs-dash > + emacs-deferred > + emacs-polymode > + emacs-request > + emacs-websocket > + emacs-with-editor)) I added a newline character after "propagated-inputs". > + (home-page "https://github.com/millejoh/emacs-ipython-notebook") > + (synopsis "Jupyter client for all languages") > + (description > + "The Emacs IPython Notebook (EIN) package provides a Jupyter Notebook > +client and integrated REPL (like SLIME) in Emacs. EIN improves notebook > +editing by allowing you to use Emacs. It also expose IPython features such as > +code evaluation, object inspection and code completion. These features can be I added a missing space before "These features". Regards, -- Nicolas Goaziou ------------=_1674857341-1973-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 25 Jan 2023 20:13:21 +0000 Received: from localhost ([127.0.0.1]:60039 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pKm92-0004Ty-P3 for submit@debbugs.gnu.org; Wed, 25 Jan 2023 15:13:21 -0500 Received: from lists.gnu.org ([209.51.188.17]:38660) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pKm8v-0004TZ-GF for submit@debbugs.gnu.org; Wed, 25 Jan 2023 15:13:17 -0500 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 1pKm8v-0002uQ-7v for guix-patches@gnu.org; Wed, 25 Jan 2023 15:13:13 -0500 Received: from devianza.investici.org ([198.167.222.108]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pKm8s-0006bg-Iu for guix-patches@gnu.org; Wed, 25 Jan 2023 15:13:13 -0500 Received: from mx2.investici.org (unknown [127.0.0.1]) by devianza.investici.org (Postfix) with ESMTP id 4P2FPy3HY1z6vNL; Wed, 25 Jan 2023 20:12:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inventati.org; s=stigmate; t=1674677574; bh=bd/g3sGVIKdaAjM93dUs6EE1pZ2BaC76/3dUSBlxG34=; h=From:To:Cc:Subject:Date:From; b=Q/uHdcYtJ7B43zhfDbXLzuevYxU0GFcqtxApH38iIQWh9jw+xSXIiJDNkmdi2GBSe 9NMzeIhgyyyBUOiSceBgvqMSnegsEkesZFr1QvIMs8saYSq2/gDibGgihrRcFeBi1n DiVlKdvoLm0DslOqigvOp96/N0T1YzOvREOpOQbY= Received: from [198.167.222.108] (mx2.investici.org [198.167.222.108]) (Authenticated sender: cayetano.santos@inventati.org) by localhost (Postfix) with ESMTPSA id 4P2FPy0pzMz6vNC; Wed, 25 Jan 2023 20:12:54 +0000 (UTC) From: Cayetano Santos To: guix-patches@gnu.org Subject: [PATCH] gnu: Add emacs-ein. Date: Wed, 25 Jan 2023 21:12:36 +0100 Message-Id: <5522f1b746711316cd8a5a4005baf3233781a930.1674677551.git.csantosb@inventati.org> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=198.167.222.108; envelope-from=csantosb@inventati.org; helo=devianza.investici.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: Cayetano Santos X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) * gnu/packages/emacs-xyz.scm (emacs-ein): New variable. --- gnu/packages/emacs-xyz.scm | 42 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index dc378581f5..30633bd52c 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -34326,6 +34326,48 @@ (define-public emacs-code-cells execute code split into cells according to certain magic comments.") (license license:gpl3+)))) +(define-public emacs-ein + (package + (name "emacs-ein") + (version "20220911") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://github.com/millejoh/emacs-ipython-notebook") + (commit "b2410dc96f61aa806a7934099d8f1e40c8f6ca18"))) + (sha256 + (base32 + "02392bxl0msda58cls0i79mzqjs73x39czx0mlb0sg2vxp84gy15")))) + (build-system emacs-build-system) + (arguments + (list #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'move-source-files + (lambda _ + (let ((el-files (find-files "./lisp" ".*\\.el$"))) + (for-each (lambda (f) + (rename-file f (basename f))) + el-files))))))) + (propagated-inputs (list emacs-websocket + emacs-anaphora + emacs-request + emacs-deferred + emacs-polymode + emacs-dash + emacs-with-editor)) + (home-page "https://github.com/millejoh/emacs-ipython-notebook") + (synopsis "Jupyter client for all languages") + (description + "The Emacs IPython Notebook (EIN) package provides a Jupyter Notebook +client and integrated REPL (like SLIME) in Emacs. EIN improves notebook +editing by allowing you to use Emacs. It also expose IPython features such as +code evaluation, object inspection and code completion. These features can be +accessed anywhere in Emacs and improve Python code editing and reading in +general in Emacs.") + (license license:gpl3+))) + (define-public emacs-kibit-helper (package (name "emacs-kibit-helper") base-commit: 968b882f55c4d1009e62c603a860edfaee1609ad -- 2.39.1 ------------=_1674857341-1973-1-- From unknown Tue Jun 17 01:42:50 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#61065] [PATCH v2] gnu: Add emacs-ein. Resent-From: Nicolas Goaziou Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 27 Jan 2023 22:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61065 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61065@debbugs.gnu.org Cc: Cayetano Santos , 61065-done@debbugs.gnu.org X-Debbugs-Original-To: Cayetano Santos via Guix-patches via Received: via spool by submit@debbugs.gnu.org id=B.16748573442028 (code B ref -1); Fri, 27 Jan 2023 22:10:01 +0000 Received: (at submit) by debbugs.gnu.org; 27 Jan 2023 22:09:04 +0000 Received: from localhost ([127.0.0.1]:38811 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pLWu7-0000We-Ge for submit@debbugs.gnu.org; Fri, 27 Jan 2023 17:09:03 -0500 Received: from lists.gnu.org ([209.51.188.17]:46020) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pLWu3-0000Vb-QB for submit@debbugs.gnu.org; Fri, 27 Jan 2023 17:09:01 -0500 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 1pLWu3-0001Ja-KO for guix-patches@gnu.org; Fri, 27 Jan 2023 17:08:59 -0500 Received: from relay9-d.mail.gandi.net ([2001:4b98:dc4:8::229]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pLWu0-0001Hk-Pm for guix-patches@gnu.org; Fri, 27 Jan 2023 17:08:59 -0500 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by mail.gandi.net (Postfix) with ESMTPSA id 06FE2FF804; Fri, 27 Jan 2023 22:08:50 +0000 (UTC) From: Nicolas Goaziou References: <5522f1b746711316cd8a5a4005baf3233781a930.1674677551.git.csantosb@inventati.org> <4bb02cb0d7b3be8181fb0b8197f13795f8a110e6.1674813757.git.csantosb@inventati.org> Date: Fri, 27 Jan 2023 23:08:48 +0100 In-Reply-To: <4bb02cb0d7b3be8181fb0b8197f13795f8a110e6.1674813757.git.csantosb@inventati.org> (Cayetano Santos via Guix-patches via's message of "Fri, 27 Jan 2023 11:02:41 +0100") Message-ID: <87v8krk4un.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2001:4b98:dc4:8::229; envelope-from=mail@nicolasgoaziou.fr; helo=relay9-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) Hello, Cayetano Santos via Guix-patches via writes: > * gnu/packages/emacs-xyz.scm (emacs-ein): New variable. Thank you. I applied your patch with the following changes. > +(define-public emacs-ein > + (package > + (name "emacs-ein") > + (version "20220911") > + (source > + (origin > + (method git-fetch) > + (uri > + (git-reference > + (url "https://github.com/millejoh/emacs-ipython-notebook") > + (commit "b2410dc96f61aa806a7934099d8f1e40c8f6ca18"))) I added (file-name (git-file-name name version)) > + (sha256 > + (base32 > + "02392bxl0msda58cls0i79mzqjs73x39czx0mlb0sg2vxp84gy15")))) > + (build-system emacs-build-system) > + (arguments > + (list > + #:tests? #t > + #:test-command > + #~(list "emacs" "-Q" "--batch" > + "-L" "test" > + "--load" "test/testein-loader.el") > + #:phases > + #~(modify-phases %standard-phases > + (add-after 'unpack 'move-source-files > + (lambda _ > + (let ((el-files (find-files "./lisp" ".*\\.el$"))) > + (for-each (lambda (f) > + (rename-file f (basename f))) > + el-files))))))) > + (native-inputs > + (list emacs-f emacs-mocker)) > + (propagated-inputs (list emacs-anaphora > + emacs-dash > + emacs-deferred > + emacs-polymode > + emacs-request > + emacs-websocket > + emacs-with-editor)) I added a newline character after "propagated-inputs". > + (home-page "https://github.com/millejoh/emacs-ipython-notebook") > + (synopsis "Jupyter client for all languages") > + (description > + "The Emacs IPython Notebook (EIN) package provides a Jupyter Notebook > +client and integrated REPL (like SLIME) in Emacs. EIN improves notebook > +editing by allowing you to use Emacs. It also expose IPython features such as > +code evaluation, object inspection and code completion. These features can be I added a missing space before "These features". Regards, -- Nicolas Goaziou