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 ms1.migadu.com with LMTPS id 4NZDBSyrVWYbJQAAe85BDQ:P1 (envelope-from ) for ; Tue, 28 May 2024 12:00:12 +0200 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 4NZDBSyrVWYbJQAAe85BDQ (envelope-from ) for ; Tue, 28 May 2024 12:00:12 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; 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-Seal: i=1; s=key1; d=yhetil.org; t=1716890411; a=rsa-sha256; cv=none; b=Bmd5dQqiLTgGjNLE8K2okIIh7ymqp8CxgBQxKcqYCbdkP1xJXCoRPKrZd75R6WOcuqW1yY uaclZD80KnJ2pMEbE+2jI25oVYFYyv4FUagI7kYsAZ1PajUJOQ8HxfJ8UkmejWJNhXcc6N yCDPFRhMDp17lVx3kKejm24EWy++byxNlICMnugywPo+Hv2QdXjyyOBP6BMHdyrwXLLbdc 7j2wRcY+IpjpCjywdw3xKHLDaTI6M3lnuZyxdMXoPnjiSkFsuCoCfUxN1CjrUgLq1wsCWz Nq0lQklgp46wV3LxpIhHiZMenQrhVWL796G3CEyevIpnz44yIYK0B4pk73MAug== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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=1716890411; 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; bh=eVlheG1nJtOuKSeq9UQB9L4TvOhwYdLi3m/FpAOKmSc=; b=j67Zf8E36fN+55eTySMpzRz6boOtQnQM+qBZTNWQ8ThZrYJ3pBu5K6ktkAOSOMSpqd0oQJ 0KWiDDMa4+Nd3Ak9QYvFneRf3vExDfNEAcbGIeguLGbC3W/WxNVeDtKn+/uZyG4PVyD6aj XwB/DdPes6b15J40iwTy7/qg/cFLqYUUNI/hFGDjtQkIMTJLdPS7SANfbE8LJdTKU9xcXs Q2K2DUSpQs+Ec7IJ4MjY7G5oogjoAlRjzd8xGKE+Q3DBGme6Lz5TfXdrcTu6GCI7D+/Rpx eAaAmwzh+jc1BBmbx5/a+4YOr0b9/03JdYQf6026X59eYjl8MJ9YmrQCJRuKvw== 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 8E20830F53 for ; Tue, 28 May 2024 12:00:11 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sBtca-0004S9-DY; Tue, 28 May 2024 05:59:56 -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 1sBtcY-0004S0-9y for guix-patches@gnu.org; Tue, 28 May 2024 05:59:54 -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 1sBtcY-0001wh-14 for guix-patches@gnu.org; Tue, 28 May 2024 05:59:54 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sBtch-0006rE-0d for guix-patches@gnu.org; Tue, 28 May 2024 06:00:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71239] [PATCH] gnu: Add emacs-dape. Resent-From: Nicolas Graves Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 28 May 2024 10:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 71239 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71239@debbugs.gnu.org Cc: ngraves@ngraves.fr X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.171689034326246 (code B ref -1); Tue, 28 May 2024 10:00:02 +0000 Received: (at submit) by debbugs.gnu.org; 28 May 2024 09:59:03 +0000 Received: from localhost ([127.0.0.1]:45711 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sBtbj-0006pG-Ad for submit@debbugs.gnu.org; Tue, 28 May 2024 05:59:03 -0400 Received: from lists.gnu.org ([209.51.188.17]:43324) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sBtbg-0006oq-NT for submit@debbugs.gnu.org; Tue, 28 May 2024 05:59:01 -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 1sBtbX-0004M3-4Q for guix-patches@gnu.org; Tue, 28 May 2024 05:58:51 -0400 Received: from 18.mo581.mail-out.ovh.net ([188.165.56.163]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sBtax-0001pq-C0 for guix-patches@gnu.org; Tue, 28 May 2024 05:58:19 -0400 Received: from director1.ghost.mail-out.ovh.net (unknown [10.108.17.189]) by mo581.mail-out.ovh.net (Postfix) with ESMTP id 4VpScs1GyWz1LCF for ; Tue, 28 May 2024 09:58:05 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-4pkjc (unknown [10.108.54.121]) by director1.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 487351FE9A; Tue, 28 May 2024 09:58:02 +0000 (UTC) Received: from ngraves.fr ([37.59.142.101]) by ghost-submission-6684bf9d7b-4pkjc with ESMTPSA id GxvXKaqqVWZEcgAAtEeXKg (envelope-from ); Tue, 28 May 2024 09:58:02 +0000 X-OVh-ClientIp: 81.67.146.208 Date: Tue, 28 May 2024 11:57:57 +0200 Message-ID: <20240528095800.20728-1-ngraves@ngraves.fr> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Ovh-Tracer-Id: 12298486158845076194 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvledrvdejiedgvdduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucenucfjughrpefhvfevufffkffoggfgsedtkeertdertddtnecuhfhrohhmpefpihgtohhlrghsucfirhgrvhgvshcuoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqnecuggftrfgrthhtvghrnhepgfehheegueduheeuveffkeffieektedtleegffejgfdvjeeivdekjeefveekvddunecuffhomhgrihhnpehgihhthhhusgdrtghomhdpshhrrdhhthenucfkphepuddvjedrtddrtddruddpkedurdeijedrudegiedrvddtkedpfeejrdehledrudegvddruddtudenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepghhuihigqdhprghttghhvghssehgnhhurdhorhhgpdfovfetjfhoshhtpehmohehkedupdhmohguvgepshhmthhpohhuth Received-SPF: pass client-ip=188.165.56.163; envelope-from=ngraves@ngraves.fr; helo=18.mo581.mail-out.ovh.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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: Nicolas Graves X-ACL-Warn: , Nicolas Graves via Guix-patches From: Nicolas Graves 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 8E20830F53 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -6.55 X-Spam-Score: -6.55 X-TUID: 7yxAQzj1f15f * gnu/packages/emacs-xyz.scm (emacs-dape): New variable. Change-Id: Ia07745dd47b2e1e5b85654a5b4b2400dd4c4cc13 --- gnu/packages/emacs-xyz.scm | 52 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 1c890a5b008..9f93d582f3f 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -31088,6 +31088,58 @@ (define-public emacs-lsp-docker in Docker environment.") (license license:gpl3+)))) +(define-public emacs-dape + (let ((commit "51fad7df7473778fbc4bac703317de7f7713b307") + (revision "0")) + (package + (name "emacs-dape") + (version (git-version "0.12.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/svaante/dape") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1jics02b9fxjs0lykiv7z924z18id550mqhf6piqzv0sgan91pg2")))) + (build-system emacs-build-system) + (arguments + ;; FIXME python tests pass, JS tests require additional dependencies + ;; See https://lists.sr.ht/~abcdw/rde-devel/patches/51878 + (list #:tests? #f + #:test-command #~'("emacs" "--batch" "-l" "dape.el" + "-l" "dape-tests.el" + "-f" "ert-run-tests-batch-and-exit") + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'support-unwrapped-python + (lambda _ + (substitute* "dape.el" + (("command \"python\"") + "command \"python3\"")))) + (add-before 'check 'pre-check + (lambda* (#:key tests? inputs #:allow-other-keys) + (if tests? + (setenv + "PATH" + (string-append + (getenv "PATH") + ":" (dirname (search-input-file inputs "/bin/python3")) + ":" (dirname (search-input-file inputs "/bin/node")))) + (format #t "test suite not run~%"))))))) + (native-inputs (list node-lts python-minimal python-debugpy)) + (propagated-inputs (list emacs-jsonrpc)) + (home-page "https://github.com/svaante/dape") + (synopsis "Debug Adapter Protocol for Emacs") + (description + "Dape is a debug adapter client for Emacs. The debug adapter protocol, +much like its more well-known counterpart, the language server protocol, +aims to establish a common API for programming tools. However, instead of +functionalities such as code completions, it provides a standardized +interface for debuggers.") + (license license:gpl3+)))) + (define-public emacs-dap-mode (package (name "emacs-dap-mode") -- 2.41.0