From patchwork Tue Sep 5 23:44:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Charles X-Patchwork-Id: 53525 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 C44D827BBE9; Wed, 6 Sep 2023 00:46:19 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HTML_MESSAGE,MAILING_LIST_MULTI,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 E590B27BBE2 for ; Wed, 6 Sep 2023 00:46:15 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qdfkA-0007Wb-R1; Tue, 05 Sep 2023 19:46:02 -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 1qdfk9-0007WT-K6 for guix-patches@gnu.org; Tue, 05 Sep 2023 19:46:01 -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 1qdfk9-0003LF-Bp for guix-patches@gnu.org; Tue, 05 Sep 2023 19:46:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qdfkA-00058p-2l for guix-patches@gnu.org; Tue, 05 Sep 2023 19:46:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65767] Add vim-vlime Resent-From: Charles Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 05 Sep 2023 23:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 65767 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 65767@debbugs.gnu.org X-Debbugs-Original-To: "guix-patches@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.169395753416043 (code B ref -1); Tue, 05 Sep 2023 23:46:02 +0000 Received: (at submit) by debbugs.gnu.org; 5 Sep 2023 23:45:34 +0000 Received: from localhost ([127.0.0.1]:59853 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qdfjg-00047r-S1 for submit@debbugs.gnu.org; Tue, 05 Sep 2023 19:45:33 -0400 Received: from lists.gnu.org ([2001:470:142::17]:51254) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qdfjb-0003c1-2X for submit@debbugs.gnu.org; Tue, 05 Sep 2023 19:45:31 -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 1qdfjU-0007N1-HC for guix-patches@gnu.org; Tue, 05 Sep 2023 19:45:20 -0400 Received: from mail-4324.protonmail.ch ([185.70.43.24]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qdfjP-0003CH-J0 for guix-patches@gnu.org; Tue, 05 Sep 2023 19:45:20 -0400 Date: Tue, 05 Sep 2023 23:44:57 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1693957511; x=1694216711; bh=mLsftj89xn+n/q80jegUhy6qCse1TLITeAhEzYPoIB0=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=B9q43G0+5ZvmyVWl88aAt5t9ZsSrooidYFW7/IyJyX7YvhU7wPw6qoTs/vDr3roZr L5hRRL0mpLzOhVjDSJP/yOFiE3hXxxz8KoXnh4KcCvrZvfC5NSWIaJlRR/arqQY3NJ G5/4oCtllPoJKePrmzPez32pKII2dm1M7bcUDEAiU6i9VDc5vOvsoaa4xjc2MvNP1s Lksvuou8vxmZO4bv2th7qwsgpt+/KDTqxYzFHY7Es6AJiYzFG613pIMHV+M47sgH45 natAlO9DEu27+XHEAn1OcJcC2NxDKaIxwb+DbuOzLiQzHPOgj1dC/8Nc/dj8fF6LPP 5kh5KkgBZ8dKA== Message-ID: Feedback-ID: 46146749:user:proton MIME-Version: 1.0 Received-SPF: pass client-ip=185.70.43.24; envelope-from=Charles.b.jackson@proton.me; helo=mail-4324.protonmail.ch 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, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 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: Charles X-ACL-Warn: , Charles via Guix-patches X-Patchwork-Original-From: Charles via Guix-patches via From: Charles 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 Empty Message From 9af34d5a190d0bf97c7a0171ce957fdcc1952a12 Mon Sep 17 00:00:00 2001 Message-Id: <9af34d5a190d0bf97c7a0171ce957fdcc1952a12.1693957442.git.charles.b.jackson@protonmail.com> From: Charles Jackson Date: Tue, 5 Sep 2023 18:42:05 -0500 Subject: [PATCH] gnu: Add vim-vlime. * gnu/packages/vim.scm (vim-vlime): New variable. --- gnu/packages/vim.scm | 54 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm index d58b022123..b5fb461197 100644 --- a/gnu/packages/vim.scm +++ b/gnu/packages/vim.scm @@ -13,6 +13,7 @@ ;;; Copyright © 2021 Tissevert ;;; Copyright © 2021 Foo Chuan Wei ;;; Copyright © 2022, 2023 Luis Henrique Gomes Higino +;;; Copyright © 2023 Charles Jackson ;;; ;;; This file is part of GNU Guix. ;;; @@ -31,6 +32,7 @@ (define-module (gnu packages vim) #:use-module ((guix licenses) #:prefix license:) + #:use-module ((gnu packages lisp-xyz) #:prefix lisp:) #:use-module (guix packages) #:use-module (guix gexp) #:use-module (guix utils) @@ -1113,6 +1115,58 @@ (define-public vim-slime to Lisp.") (license license:expat)))) +(define-public vim-vlime + ;; last tag is very outdated + (let ((commit "c1ac16c1a50bec4c30da87cd4ce2af12e26fb022") + (revision "1")) + (package + (name "vim-vlime") + (version (git-version "0.4.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/vlime/vlime") + (commit commit))) + (sha256 + (base32 "1dfc1wyjsgkckrklkzvk4whaz3ahaka59rvm7rc724mabmk83pmp")) + (file-name (git-file-name name version)))) + (build-system copy-build-system) + (arguments + '(#:install-plan + '(("vim/autoload" "share/vim/vimfiles/") + ("vim/doc" "share/vim/vimfiles/") + ("vim/ftplugin" "share/vim/vimfiles/") + ("vim/syntax" "share/vim/vimfiles/") + ("vim/test" "share/vim/vimfiles/") + ;; This is so the Vimscript part of Vlime can find the lisp files + ("lisp" "share/vim/") + ;; This is so lisp can load Vlime without the Vim part + ("lisp" "share/common-lisp/source/vlime")) + #:phases + (modify-phases %standard-phases + ;; Create a symbolic link to the .asd file so that + ;; (asdf:load-system "vlime") finds the system. + (add-after 'install 'link-asd + (lambda* (#:key outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out"))) + (mkdir-p (string-append out "/share/common-lisp/systems/")) + (symlink (string-append out "/share/common-lisp/source/vlime/vlime.asd") + (string-append out "/share/common-lisp/systems/vlime.asd")))))))) + (propagated-inputs + (list lisp:cl-alexandria + lisp:cl-slime-swank + lisp:cl-usocket + lisp:cl-vom + lisp:cl-yason)) + (home-page "https://github.com/vlime/vlime") + (synopsis "Common Lisp dev environment for Vim (and Neovim)") + (description "Vlime is similar to SLIME for Emacs and SLIMV for Vim. It +provides REPL integration, as well as omni-completions, cross reference +utilities, a nice inspector, debugger support, and many other great facilities +to aid you in your glorious Common Lisp hacking quest.") + (license license:expat)))) + (define-public vim-paredit ;; The last tagged version is from August 2013. (let ((commit "97d51d099523b37bb35cbcf3564cbfb46e66e4ec") base-commit: e365c26a34fa485f9af46538fcea128db681c33d -- 2.34.1