From patchwork Sat Oct 29 01:35:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?44Ku44Oj44Op?= X-Patchwork-Id: 44175 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 6456E27BBEA; Sat, 29 Oct 2022 02:37:12 +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.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_BL_SPAMCOP_NET, 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 AA1E427BBE9 for ; Sat, 29 Oct 2022 02:37:08 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ooamV-0002QW-Ns; Fri, 28 Oct 2022 21:37:03 -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 1ooamU-0002IC-FF for guix-patches@gnu.org; Fri, 28 Oct 2022 21:37:02 -0400 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 1ooamU-0007Nz-81 for guix-patches@gnu.org; Fri, 28 Oct 2022 21:37:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ooamT-00018f-Uw for guix-patches@gnu.org; Fri, 28 Oct 2022 21:37:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#58851] [PATCH] gnu: Add python-neovim-remote. Resent-From: =?utf-8?b?44Ku44Oj44Op?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 29 Oct 2022 01:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58851 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 58851@debbugs.gnu.org Cc: =?utf-8?b?44Ku44Oj44Op?= X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16670073974339 (code B ref -1); Sat, 29 Oct 2022 01:37:01 +0000 Received: (at submit) by debbugs.gnu.org; 29 Oct 2022 01:36:37 +0000 Received: from localhost ([127.0.0.1]:34620 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ooam4-00017v-L3 for submit@debbugs.gnu.org; Fri, 28 Oct 2022 21:36:36 -0400 Received: from lists.gnu.org ([209.51.188.17]:59760) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ooam2-00017m-S3 for submit@debbugs.gnu.org; Fri, 28 Oct 2022 21:36:35 -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 1ooam2-0007dO-Mu for guix-patches@gnu.org; Fri, 28 Oct 2022 21:36:34 -0400 Received: from mail-ej1-x636.google.com ([2a00:1450:4864:20::636]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ooam1-0007Lt-0S for guix-patches@gnu.org; Fri, 28 Oct 2022 21:36:34 -0400 Received: by mail-ej1-x636.google.com with SMTP id 13so16908516ejn.3 for ; Fri, 28 Oct 2022 18:36:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gyara.moe; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=DWHhBiB34vUGsHZYZB1n23YCT0AQUwmRMY68P0fhZ8o=; b=B8Vs/9MxFsjqyzTCH07xB+Jx86fHipaycYq0KIC7djKLLTHIO05J8QKmyQEfqtkC1x EHjdAULXcA5EV5jDiT3SK43U9hBgzLWxZMsb+pwRvIIek2asR/Mq6L4Qxs3cXF1Cl/4p xK1Nb4fk8VTMl1v4rR1fjzlM9XvV/C6biKAMpqSX6uLWot86gWJRXDaQXP5u9i8qGcqd CKqKfALxe1/xylOJVBJthG3l/K3F40xNIEEtenpflhIougTF0+082CwMkH2R7rBISfpe 6OpolVENsMl1sY61lQ1i9QAlDDxphAVF3qCKoKGeG1hBiqacG39dZNc5YoQh72c6MTgk JmUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=DWHhBiB34vUGsHZYZB1n23YCT0AQUwmRMY68P0fhZ8o=; b=FJI1s/vpSmsJGY2GrQUzTNta0V+E57Q/dHUSfyB2xW7dTK9sP12dK7AwM38kbCWizF CFtQOzbCHWTU8Jc7rzlHOfO83NQ7eurP9ObnosG3zuQNRL3WWFM6V7zHCpxBvRPivBgY w5zsLNiPjwILMaIniOxx9ht5YuClhDxmQiToU6EZ46OsN+8a2FHGJt5vOXAQUCV5oUQr QTmlJjsAnBHtceo0VgaxEt/O/Ux22Jl6ZnWXH7VLOZ/I9UwN7me713XsoUhrk0Q7pt7f eePlkhITHlsFOucYaCoQQmswkGIdq5qATmcykM7+zNxxCP125mP9kmwU2+WAvRzib1s2 J8Sw== X-Gm-Message-State: ACrzQf3ikSyJSgszyTKKTNKK0VwbQesMKwYBv8Df9EnyX3KG7rcyH0FZ 3MijtArtdBfoojqUb0yKQWLaq86v5Z0fq7flgKY= X-Google-Smtp-Source: AMsMyM5FmaGPjQ6t72Gsli+4G8jzaOgl9QixuL7vg1QfZPMZdyPLo+cKMeC5rCl8CVzLPygQmFru+A== X-Received: by 2002:a17:906:844f:b0:78d:8bd1:ee8c with SMTP id e15-20020a170906844f00b0078d8bd1ee8cmr2012868ejy.262.1667007390748; Fri, 28 Oct 2022 18:36:30 -0700 (PDT) Received: from localhost ([83.137.158.9]) by smtp.gmail.com with ESMTPSA id fs29-20020a170907601d00b0078c1e174e11sm90473ejc.136.2022.10.28.18.36.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Oct 2022 18:36:29 -0700 (PDT) Date: Sat, 29 Oct 2022 10:35:48 +0900 Message-Id: <9d3e8bde70c662e08f4af3cf41f29dbae38d30ae.1667007347.git.me@gyara.moe> X-Mailer: git-send-email 2.38.0 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::636; envelope-from=me@gyara.moe; helo=mail-ej1-x636.google.com X-Spam_score_int: -7 X-Spam_score: -0.8 X-Spam_bar: / X-Spam_report: (-0.8 / 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_BL_SPAMCOP_NET=1.347, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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: , Sender: "Guix-patches" Reply-to: =?utf-8?b?44Ku44Oj44Op?= X-ACL-Warn: , =?utf-8?b?44Ku44Oj44OpIHZpYSBHdWl4LXBhdGNoZXM=?= X-Patchwork-Original-From: =?utf-8?b?44Ku44Oj44OpIHZpYSBHdWl4LXBhdGNoZXM=?= via From: =?utf-8?b?44Ku44Oj44Op?= Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/vim.scm (python-neovim-remote): New variable. --- gnu/packages/vim.scm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm index ed24c39be2..20ca44e9cb 100644 --- a/gnu/packages/vim.scm +++ b/gnu/packages/vim.scm @@ -40,6 +40,7 @@ (define-module (gnu packages vim) #:use-module (guix build-system copy) #:use-module (guix build-system gnu) #:use-module (guix build-system python) + #:use-module (guix build-system pyproject) #:use-module (gnu packages) #:use-module (gnu packages acl) #:use-module (gnu packages admin) ; For GNU hostname @@ -924,6 +925,25 @@ (define-public python-pynvim through its msgpack-rpc API.") (license license:asl2.0))) +(define-public python-neovim-remote + (package + (name "python-neovim-remote") + (version "2.5.1") + (source (origin + (method url-fetch) + (uri (pypi-uri "neovim-remote" version)) + (sha256 + (base32 + "00kxlb3f1k7iaxzpsr07scavmnyg8c1jmicmr13mfk2lcdac6g2b")))) + (build-system pyproject-build-system) + (propagated-inputs (list python-psutil python-pynvim)) + (home-page "https://github.com/mhinz/neovim-remote") + (synopsis "Control nvim processes using `nvr` commandline tool") + (description "This package provide a `nvr` command, which can open File +in remote nvim. Also allow opening files from within :terminal without +starting a nested nvim process.") + (license license:expat))) + (define-public vim-guix-vim (package (name "vim-guix-vim")