From patchwork Fri Jan 27 10:02:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cayetano Santos X-Patchwork-Id: 46442 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 3B2FB27BBEB; Fri, 27 Jan 2023 10:04:53 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id BFC8E27BBE9 for ; Fri, 27 Jan 2023 10:04:50 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pLLae-0003Gg-L5; Fri, 27 Jan 2023 05:04:12 -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 1pLLaU-0003FY-CY for guix-patches@gnu.org; Fri, 27 Jan 2023 05:04:10 -0500 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 1pLLaU-0007yX-4J for guix-patches@gnu.org; Fri, 27 Jan 2023 05:04:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pLLaT-0001DW-Vo for guix-patches@gnu.org; Fri, 27 Jan 2023 05:04:01 -0500 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) 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 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: Cayetano Santos X-ACL-Warn: , Cayetano Santos via Guix-patches X-Patchwork-Original-From: Cayetano Santos via Guix-patches via From: Cayetano Santos Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/emacs-xyz.scm (emacs-ein): New variable. --- gnu/packages/emacs-xyz.scm | 50 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) base-commit: 968b882f55c4d1009e62c603a860edfaee1609ad 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")