From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id cNSmKITxJGdcQwEAqHPOHw:P1 (envelope-from ) for ; Fri, 01 Nov 2024 15:19:32 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id cNSmKITxJGdcQwEAqHPOHw (envelope-from ) for ; Fri, 01 Nov 2024 16:19:32 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b="jGFVi1/W"; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=crfrxkgo; 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"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1730474372; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=u3SxhHgtdTNFrG+shZSh/UYUaYGGx7kQOPYdoS0CvQI=; b=Tnls4gN54iW1U+cW+j37ZvQXbnWczZMRk35YyT/gtP33TxNNo8xlO+in+ut5SrLrZDZiEs W2mDV9uv4AXY8mdQlj4q9ZMxyssj3hsdhctP3D6duDMJr8JhLcsOsvGgEvRjLuZ7Q5+/Jy nomqHrzJfZIhshhufZUQ+OSbt46LmJbXaR3DrMwpohYPw0oVDebo6+fX56lFks/oag5mBQ CeRC8wBOebc2Tg2K7abVNFQ1Z/Ql8D+82XBAhraExt871Pq3i7cF01l4kxW+1SxeN9+hf8 dqa2ect0ZO+PwYMKQQeeYZDZFj9XaWjshAFI1/bIVF3I10qASsGrgcoEFFvSbg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1730474372; a=rsa-sha256; cv=none; b=fd3cPusbNERceAYdm8uQT8VVW3VGlEESC5DONLRO3IINLrh7jkItOWII2bbfLWLFi6nwb4 sc1DBSRjF1S71ArcO3cNtvyxO5lzMjd53DpYWAc2km3/AvtUInVDsyQ4IY2deTRy64YjuN JZqARvWlDosD82BtZeINZ/40SwOThC1n+0HANrfh4zK3yWzY5LkdVDNgtmBCpEhdVEATV4 FCLRaaKgdKoGkpJAZ/LOFxJ7ccIoQGM+5sx9j98D71Sn9bCIG3MJ9G+RC7IVRZjVLavV9c RK+vWYxpUpA10YYGgn8ZwENQh5n6nBJm5orxy7tLjvJ7kHBTOKPeKbNG80xF7g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b="jGFVi1/W"; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=crfrxkgo; 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"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) 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 6FC8B55D9E for ; Fri, 01 Nov 2024 16:19:31 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t6tQo-0005kO-PN; Fri, 01 Nov 2024 11:19:23 -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 1t6snn-0006Wb-4Z for guix-patches@gnu.org; Fri, 01 Nov 2024 10:39:03 -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 1t6snm-0003U7-RL for guix-patches@gnu.org; Fri, 01 Nov 2024 10:39:02 -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:References:In-Reply-To:Date:From:To:Subject; bh=u3SxhHgtdTNFrG+shZSh/UYUaYGGx7kQOPYdoS0CvQI=; b=jGFVi1/WDVPSqlUYfemY2tltw+pVloOGVKBSXaagaaO4HYeuSGbPl9O8KaF/to3n9qI+TYXka6wYEePpo3Q8UdtvOmPtjPTFD5EQFJosnFGJLdDIEgDzQP2aoRhBGbE7U7O6uQGOx1phBqlxpuAY0cbwBWSE+2yKtepNhjGgEhbBu4etnIJPwLSAS3koYgMp+0DGDsjz/gfWcVhb2d932dub5OFbhOKNMaMmJrnOX7HazPcSdQcQ+QTEepgiPXls+ZTNZUPoFDmWgD/+x/E/w+5LxHpG3dAuyaY4v2sINLiFl0Y7zrWb6PqJOl0ITvv9O7HO6OZB9ATwVmKE0kpMoA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t6snl-0003Fz-Lc for guix-patches@gnu.org; Fri, 01 Nov 2024 10:39:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#74158] [PATCH 3/4] * gnu/packages/text-editors.scm (parinfer-rust-emacs): New variable. Resent-From: Lee Thompson Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 01 Nov 2024 14:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74158 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74158@debbugs.gnu.org Cc: Lee Thompson Received: via spool by 74158-submit@debbugs.gnu.org id=B74158.173047188612480 (code B ref 74158); Fri, 01 Nov 2024 14:39:01 +0000 Received: (at 74158) by debbugs.gnu.org; 1 Nov 2024 14:38:06 +0000 Received: from localhost ([127.0.0.1]:49886 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t6smq-0003FE-12 for submit@debbugs.gnu.org; Fri, 01 Nov 2024 10:38:05 -0400 Received: from mail-wm1-f41.google.com ([209.85.128.41]:42322) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t6rjL-0001Bz-Ta for 74158@debbugs.gnu.org; Fri, 01 Nov 2024 09:30:25 -0400 Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-4315eac969aso11834645e9.1 for <74158@debbugs.gnu.org>; Fri, 01 Nov 2024 06:30:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730467763; x=1731072563; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=u3SxhHgtdTNFrG+shZSh/UYUaYGGx7kQOPYdoS0CvQI=; b=crfrxkgoeeM67nNmiTtkgRXvAa7YP4Exl4ipamgAksMLwqvqj10Js+JsLKkBH5jw5S 3OuMbEbHNAFWALnFexi+gV9aKrdvJgvi8zEtfwwU/nD6+WH5Go1n4/DuFAcrp2hgaKS6 hp+5yJRF3uzorYrTFwvHrp3ohtIza/pAUYihJplxyD8CtagFCDSDU+kDouosrRyz2Kec XyP6qCUpAJxzcrk2W/hzDpWCnYNZ1IE49VnScsQCkY4kgw0bM14P1iKhMNJiVgit8k2T J2hzYRmPL9UhJH41TccxSK/CPbBJEhlVapHp8EwNV0mGtBOHJnI9sIrL/61ELqChRTue YVuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730467763; x=1731072563; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=u3SxhHgtdTNFrG+shZSh/UYUaYGGx7kQOPYdoS0CvQI=; b=mvdDDn5XuSCcdUsaQ17CIlhvtlyKMdccNwgoohFA0QTNfh34i72vX9Zzkhxmi1Koee VV1xcVW54JnIx/CEs3M1HiedXwvgN68aplYIUP4DtnO9jloy9pyvN3lcoT4YDjuTcNH3 /upuJ3qoSSSUnGdqqkCW1OQ9qOKfdV9hyS54XUo3q72IBQWuwBZCHAG8enWxUa0DnF7s 8n0QmC5GILAFDUDHoRJsDpIlwMSu/MWqAu90RjfWWPmT7mCmk7a/GGo754ZOggjGdDXA TM0skT99LNweCrqf48bPuVw8ZAdbz5hU15kVXrrLSnP1W2Zmi2OJgTxtBK5fOmiw3BzG llog== X-Gm-Message-State: AOJu0YyQLbwOv8EIpd4zpliL1QXxKoy2XryquFAgg26QpYRU+V1NZDMH c9FNWBvVgkUJKrPaIsDNLt0xn/RpSMlL/E1/hc6w87RiU8tfbiGhSL37Xcty X-Google-Smtp-Source: AGHT+IG+oTrPAyGCCIjy5Tf8EFLA3BU1OZcCxZNsmvYPlcTVCxItYBWf7LXgU8nniJhxRlS4fKLi7A== X-Received: by 2002:a05:600c:1c98:b0:42c:b166:913 with SMTP id 5b1f17b1804b1-4327dabab74mr53291595e9.11.1730467763097; Fri, 01 Nov 2024 06:29:23 -0700 (PDT) Received: from LD00001.sitehop.local ([88.98.252.138]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-431bd9a9faesm92453875e9.35.2024.11.01.06.29.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Nov 2024 06:29:22 -0700 (PDT) From: Lee Thompson Date: Fri, 1 Nov 2024 13:28:51 +0000 Message-ID: <20241101132853.723629-3-lee.p.thomp@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241101132853.723629-1-lee.p.thomp@gmail.com> References: <20241101132853.723629-1-lee.p.thomp@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Fri, 01 Nov 2024 10:38:03 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Fri, 01 Nov 2024 11:19:18 -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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 0.19 X-Spam-Score: 0.19 X-Migadu-Queue-Id: 6FC8B55D9E X-Migadu-Scanner: mx13.migadu.com X-TUID: uCtr04T+07fp Change-Id: I6c6fb384edb03b55bae63137576c364cf11e42a5 --- gnu/packages/text-editors.scm | 53 +++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm index fae021f012..027f8adb6c 100644 --- a/gnu/packages/text-editors.scm +++ b/gnu/packages/text-editors.scm @@ -467,6 +467,59 @@ (define-public parinfer-rust can load dynamic libraries.") (license license:expat))) +(define-public parinfer-rust-emacs + (package + (name "parinfer-rust-emacs") + (version "0.4.6") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/justinbarclay/parinfer-rust-emacs") + (commit (string-append "v" version)))) + (sha256 + (base32 "1v5lcbs1x4f3b428sj9rkjbmfpzyxzny7i0pgdpnr8nyjvpkzns8")) + (file-name (git-file-name name version)))) + (build-system cargo-build-system) + (arguments + `(#:install-source? #f + #:cargo-inputs (("rust-getopts" ,rust-getopts-0.2) + ("rust-libc" ,rust-libc-0.2) + ("rust-emacs" ,rust-emacs-0.19) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-serde-derive" ,rust-serde-derive-1) + ("rust-unicode-segmentation" ,rust-unicode-segmentation-1) + ("rust-unicode-width" ,rust-unicode-width-0.1)) + #:phases (modify-phases %standard-phases + (add-after 'install 'install-plugins-and-libs + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (lib (string-append out "/lib")) + (vimfiles (string-append out + "/share/vim/vimfiles/" + "pack/guix/start/parinfer"))) + (with-directory-excursion "target/release" + (install-file "libparinfer_rust.so" lib)) + (substitute* "plugin/parinfer.vim" + (("(let s:libdir = ).*" all libdir) + (format #f "~a'~a'\n" libdir lib))) + (install-file "doc/parinfer.txt" + (string-append vimfiles "/doc")) + (install-file "plugin/parinfer.vim" + (string-append vimfiles "/plugin")) + (install-file "rc/parinfer.kak" + (string-append out "/share/kak/autoload")))))))) + (inputs (list clang)) + (home-page "https://github.com/justinbarclay/parinfer-rust-emacs") + (synopsis "Emacs-centric fork of parinfer-rust") + (description + "A full-featured, super fast implementation of Shaun Lebron’s +@code{parinfer}. This repo has Vim, Neovim, and Kakoune plugins, and an Emacs +plugin is available. The Rust library can be called from other editors that +can load dynamic libraries.") + (license license:isc))) + (define-public joe (package (name "joe") -- 2.43.0