unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#67278] [PATCH] gnu: Add vim-jedi.
@ 2023-11-19 13:19 guix-patches--- via
  2023-11-26 10:09 ` bug#67278: " Efraim Flashner
  0 siblings, 1 reply; 3+ messages in thread
From: guix-patches--- via @ 2023-11-19 13:19 UTC (permalink / raw)
  To: 67278; +Cc: Nguyễn Gia Phong

* gnu/packages/vim.scm (vim-jedi): New variable.

Change-Id: I2656837686866961266b093cd6b4a4d528f5f684
---
 gnu/packages/vim.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm
index 469c8b64cbe6..d10308959687 100644
--- a/gnu/packages/vim.scm
+++ b/gnu/packages/vim.scm
@@ -1423,3 +1423,25 @@ (define-public vim-nerdcommenter
 operations and styles which are invoked via key mappings and a menu.  These
 operations are available for most filetypes.")
     (license license:cc0)))
+
+(define-public vim-jedi
+  (package
+    (name "vim-jedi")
+    (version "0.11.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/davidhalter/jedi-vim")
+              (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+         (base32 "03fj7f5cpchrdmz9szal6fdg05wdwb0j6260nnyp37nmpcpn13yc"))))
+    (build-system vim-build-system)
+    (arguments (list #:plugin-name "jedi-vim"))
+    (propagated-inputs (list python-jedi))
+    (home-page "https://github.com/davidhalter/jedi-vim")
+    (synopsis "Jedi autocompletion library for Vim")
+    (description
+      "@code{jedi-vim} is a VIM binding to the autocompletion library Jedi.")
+    (license license:expat)))

base-commit: 5cad6f721b8884b612178896f06cd69d5839402c
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#67278: [PATCH] gnu: Add vim-jedi.
  2023-11-19 13:19 [bug#67278] [PATCH] gnu: Add vim-jedi guix-patches--- via
@ 2023-11-26 10:09 ` Efraim Flashner
  2023-11-27 16:04   ` [bug#67278] " guix-patches--- via
  0 siblings, 1 reply; 3+ messages in thread
From: Efraim Flashner @ 2023-11-26 10:09 UTC (permalink / raw)
  To: Nguyễn Gia Phong; +Cc: 67278-done

[-- Attachment #1: Type: text/plain, Size: 2049 bytes --]

I looked around the sources and I didn't see a good spot to try to wrap
the plugin with python-jedi so we wouldn't have to propagate it.

I also renamed the package to vim-jedi-vim. Patch pushed! Thanks.

On Sun, Nov 19, 2023 at 10:19:19PM +0900, guix-patches--- via wrote:
> * gnu/packages/vim.scm (vim-jedi): New variable.
> 
> Change-Id: I2656837686866961266b093cd6b4a4d528f5f684
> ---
>  gnu/packages/vim.scm | 22 ++++++++++++++++++++++
>  1 file changed, 22 insertions(+)
> 
> diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm
> index 469c8b64cbe6..d10308959687 100644
> --- a/gnu/packages/vim.scm
> +++ b/gnu/packages/vim.scm
> @@ -1423,3 +1423,25 @@ (define-public vim-nerdcommenter
>  operations and styles which are invoked via key mappings and a menu.  These
>  operations are available for most filetypes.")
>      (license license:cc0)))
> +
> +(define-public vim-jedi
> +  (package
> +    (name "vim-jedi")
> +    (version "0.11.2")
> +    (source
> +     (origin
> +       (method git-fetch)
> +       (uri (git-reference
> +              (url "https://github.com/davidhalter/jedi-vim")
> +              (commit (string-append "v" version))))
> +       (file-name (git-file-name name version))
> +       (sha256
> +         (base32 "03fj7f5cpchrdmz9szal6fdg05wdwb0j6260nnyp37nmpcpn13yc"))))
> +    (build-system vim-build-system)
> +    (arguments (list #:plugin-name "jedi-vim"))
> +    (propagated-inputs (list python-jedi))
> +    (home-page "https://github.com/davidhalter/jedi-vim")
> +    (synopsis "Jedi autocompletion library for Vim")
> +    (description
> +      "@code{jedi-vim} is a VIM binding to the autocompletion library Jedi.")
> +    (license license:expat)))
> 
> base-commit: 5cad6f721b8884b612178896f06cd69d5839402c
> -- 
> 2.41.0
> 
> 
> 
> 

-- 
Efraim Flashner   <efraim@flashner.co.il>   רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [bug#67278] [PATCH] gnu: Add vim-jedi.
  2023-11-26 10:09 ` bug#67278: " Efraim Flashner
@ 2023-11-27 16:04   ` guix-patches--- via
  0 siblings, 0 replies; 3+ messages in thread
From: guix-patches--- via @ 2023-11-27 16:04 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: 67278-done

On 2023-11-26 at 12:09+02:00, Efraim Flashner wrote:
> I looked around the sources and I didn't see a good spot to try to wrap
> the plugin with python-jedi so we wouldn't have to propagate it.
>
> I also renamed the package to vim-jedi-vim. Patch pushed! Thanks.

Thank you!




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-11-27 16:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-19 13:19 [bug#67278] [PATCH] gnu: Add vim-jedi guix-patches--- via
2023-11-26 10:09 ` bug#67278: " Efraim Flashner
2023-11-27 16:04   ` [bug#67278] " guix-patches--- via

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).