all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#62519] [PATCH] gnu: Add emacs-gptel.
@ 2023-03-29 12:42 Rostislav Svoboda
  2023-03-29 12:42 ` [bug#62520] [PATCH] gnu: Add emacs-pippel Rostislav Svoboda
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Rostislav Svoboda @ 2023-03-29 12:42 UTC (permalink / raw)
  To: 62519; +Cc: Rostislav Svoboda

* gnu/packages/emacs-xyz.scm (emacs-gptel): New variable.
---
 gnu/packages/emacs-xyz.scm | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index da2856abc8..d5db2ea499 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -418,6 +418,44 @@ (define-public emacs-geiser
 e.g. emacs-geiser-guile for Guile.")
     (license license:bsd-3)))
 
+(define-public emacs-gptel
+  (let ((commit "1c07a94e18a914ae69ea0061f81fda4bba29afd5")
+        (revision "0"))
+    (package
+      (name "emacs-gptel")
+      (version (git-version "0.2.5" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/karthink/gptel")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "190nrxf6nqmfrsza3vyc51f02hw10wzydi45phkswydjkgsllkmp"))))
+      (build-system emacs-build-system)
+      (arguments
+       (list
+        #:phases
+        #~(modify-phases %standard-phases
+            (add-after 'unpack 'substitute-gptel-use-curl
+              (lambda* (#:key inputs #:allow-other-keys)
+                (emacs-substitute-variables "gptel.el"
+                  ("gptel-use-curl" (search-input-file
+                                     inputs
+                                     "/bin/curl"))))))))
+      (inputs (list curl))
+      (propagated-inputs (list emacs-map))
+      (home-page "https://github.com/karthink/gptel")
+      (synopsis "GPTel is a simple ChatGPT client for Emacs")
+      (description
+       "GPTel is a simple, no-frills ChatGPT asynchronous client for Emacs
+with no external dependencies.  It can interact with ChatGPT from any Emacs
+buffer with ChatGPT responses encoded in Markdown or Org markup.  It supports
+conversations, not just one-off queries and multiple independent sessions.
+Requires an OpenAI API key.")
+      (license license:gpl3+))))
+
 (define-public emacs-geiser-guile
   (package
     (name "emacs-geiser-guile")
-- 
2.39.2





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

* [bug#62520] [PATCH] gnu: Add emacs-pippel.
  2023-03-29 12:42 [bug#62519] [PATCH] gnu: Add emacs-gptel Rostislav Svoboda
@ 2023-03-29 12:42 ` Rostislav Svoboda
       [not found]   ` <handler.62520.B.168009382118119.ack@debbugs.gnu.org>
  2023-03-29 12:42 ` [bug#62522] [PATCH 1/2] gnu: Add emacs-sphinx-doc Rostislav Svoboda
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 11+ messages in thread
From: Rostislav Svoboda @ 2023-03-29 12:42 UTC (permalink / raw)
  To: 62520; +Cc: Rostislav Svoboda

* gnu/packages/emacs-xyz.scm (emacs-pippel): New variable.
---
 gnu/packages/emacs-xyz.scm | 48 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index da2856abc8..1cdaccd366 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -17288,6 +17288,54 @@ (define-public emacs-php-mode
 documentation search and a source and class browser.")
     (license license:gpl3+)))
 
+(define-public emacs-pippel
+  (let ((commit "cb194952ee150e77601d3233dabdb521b976ee79")
+        (revision "0"))
+    (package
+      (name "emacs-pippel")
+      (version (git-version "0.1" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/arifer612/pippel")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "17606l24yyrjxa4rc0p2zj50lfbayqldw4phhi59yqf61289d520"))))
+      (build-system emacs-build-system)
+      (arguments
+       (list
+        #:include #~(cons "^pippel\\.py$" %default-include)
+        #:phases
+        #~(modify-phases %standard-phases
+            (add-after 'unpack 'substitute-pippel-package-path
+              (lambda* (#:key outputs #:allow-other-keys)
+                (let* ((out (assoc-ref outputs "out"))
+                       (package-path (string-append
+                                      out
+                                      "/share/emacs/site-lisp/pippel-"
+                                      #$version)))
+                  (emacs-substitute-variables "pippel.el"
+                    ("pippel-package-path"
+                     package-path)))))
+            (add-after 'unpack 'substitute-python-path
+              (lambda* (#:key inputs #:allow-other-keys)
+                (emacs-substitute-variables "pippel.el"
+                  ("pippel-python-command"
+                   (search-input-file
+                    inputs
+                    "/bin/python"))))))))
+      (inputs (list python-wrapper))
+      (propagated-inputs (list emacs-dash emacs-s))
+      (home-page "https://github.com/arifer612/pippel")
+      (synopsis "Emacs frontend to Python package manager Pip")
+      (description
+       "Pippel is an Emacs frontend for the Python package manager Pip.  As
+Pippel also uses Tabulated List mode, it provides a similar package menu like
+@code{package-list-packages}.")
+      (license license:gpl3+))))
+
 (define-public emacs-pos-tip
   (package
     (name "emacs-pos-tip")
-- 
2.39.2





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

* [bug#62522] [PATCH 1/2] gnu: Add emacs-sphinx-doc.
  2023-03-29 12:42 [bug#62519] [PATCH] gnu: Add emacs-gptel Rostislav Svoboda
  2023-03-29 12:42 ` [bug#62520] [PATCH] gnu: Add emacs-pippel Rostislav Svoboda
@ 2023-03-29 12:42 ` Rostislav Svoboda
       [not found]   ` <handler.62522.B.168009383018152.ack@debbugs.gnu.org>
  2023-03-29 12:42 ` [bug#62521] [PATCH 2/2] gnu: Add emacs-railscasts-theme Rostislav Svoboda
  2023-04-08 12:08 ` bug#62519: [PATCH] gnu: Add emacs-gptel Nicolas Goaziou
  3 siblings, 1 reply; 11+ messages in thread
From: Rostislav Svoboda @ 2023-03-29 12:42 UTC (permalink / raw)
  To: 62522; +Cc: Rostislav Svoboda

* gnu/packages/emacs-xyz.scm (emacs-sphinx-doc): New variable.
---
 gnu/packages/emacs-xyz.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index da2856abc8..afc0726230 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -12487,6 +12487,32 @@ (define-public emacs-sparql-mode
 as Fuseki or DBPedia.")
     (license license:gpl3+)))
 
+(define-public emacs-sphinx-doc
+  (let ((commit "1eda612a44ef027e5229895daa77db99a21b8801")
+        (revision "1"))
+    (package
+      (name "emacs-sphinx-doc")
+      (version (git-version "0.3.0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/naiquevin/sphinx-doc.el")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "0q72i95yx3xa57jlgr7dik6prf20hi8bp8xf3f5c6ificv7i5378"))))
+      (build-system emacs-build-system)
+      (propagated-inputs (list emacs-dash emacs-s))
+      (home-page "https://github.com/naiquevin/sphinx-doc.el")
+      (synopsis
+       "Generate Sphinx friendly docstrings for Python functions in Emacs")
+      (description
+       "Sphinx Doc is an Emacs minor mode for inserting docstring skeleton for Python
+functions and methods.  The structure of the docstring is as per the requirement of
+the Sphinx documentation generator.")
+      (license license:expat))))
+
 (define-public emacs-better-defaults
   (package
     (name "emacs-better-defaults")
-- 
2.39.2





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

* [bug#62521] [PATCH 2/2] gnu: Add emacs-railscasts-theme.
  2023-03-29 12:42 [bug#62519] [PATCH] gnu: Add emacs-gptel Rostislav Svoboda
  2023-03-29 12:42 ` [bug#62520] [PATCH] gnu: Add emacs-pippel Rostislav Svoboda
  2023-03-29 12:42 ` [bug#62522] [PATCH 1/2] gnu: Add emacs-sphinx-doc Rostislav Svoboda
@ 2023-03-29 12:42 ` Rostislav Svoboda
       [not found]   ` <handler.62521.B.168009382918146.ack@debbugs.gnu.org>
  2023-04-08 12:08 ` bug#62519: [PATCH] gnu: Add emacs-gptel Nicolas Goaziou
  3 siblings, 1 reply; 11+ messages in thread
From: Rostislav Svoboda @ 2023-03-29 12:42 UTC (permalink / raw)
  To: 62521; +Cc: Rostislav Svoboda

* gnu/packages/emacs-xyz.scm (emacs-railscasts-theme): New variable.
---
 gnu/packages/emacs-xyz.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index afc0726230..15bda670ba 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -13446,6 +13446,27 @@ (define-public emacs-elpy
 completion, interactive development and more.")
       (license license:gpl3+))))
 
+(define-public emacs-railscasts-theme
+  (let ((commit "1340c3f6c2717761cab95617cf8dcbd962b1095b")
+        (revision "0"))
+    (package
+      (name "emacs-railscasts-theme")
+      (version (git-version "0.1" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/mikenichols/railscasts-theme")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "021x1l5kzsbm0qj5a3bngxa7ickm4lbwsdz81a2ks9pi1ivmw205"))))
+      (build-system emacs-build-system)
+      (home-page "https://github.com/mikenichols/railscasts-theme")
+      (synopsis "Railscasts is a color theme for Emacs")
+      (description "Railscasts is a color theme for Emacs.")
+      (license license:expat))))
+
 (define-public emacs-rainbow-delimiters
   (package
     (name "emacs-rainbow-delimiters")
-- 
2.39.2





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

* [bug#62521] Acknowledgement ([PATCH 2/2] gnu: Add emacs-railscasts-theme.)
       [not found]   ` <handler.62521.B.168009382918146.ack@debbugs.gnu.org>
@ 2023-03-29 12:46     ` Rostislav Svoboda
  2023-03-31  8:35       ` bug#62521: " Nicolas Goaziou
  0 siblings, 1 reply; 11+ messages in thread
From: Rostislav Svoboda @ 2023-03-29 12:46 UTC (permalink / raw)
  To: 62521

Hi, please ignore this patch. I messed up. Sorry.
Cheers Bost




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

* [bug#62520] Acknowledgement ([PATCH] gnu: Add emacs-pippel.)
       [not found]   ` <handler.62520.B.168009382118119.ack@debbugs.gnu.org>
@ 2023-03-29 12:46     ` Rostislav Svoboda
  2023-03-31  8:32       ` bug#62520: " Nicolas Goaziou
  0 siblings, 1 reply; 11+ messages in thread
From: Rostislav Svoboda @ 2023-03-29 12:46 UTC (permalink / raw)
  To: 62520

Hi, please ignore this patch. I messed up. Sorry.
Cheers Bost




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

* [bug#62522] Acknowledgement ([PATCH 1/2] gnu: Add emacs-sphinx-doc.)
       [not found]   ` <handler.62522.B.168009383018152.ack@debbugs.gnu.org>
@ 2023-03-29 12:46     ` Rostislav Svoboda
  2023-03-31  8:36       ` bug#62522: " Nicolas Goaziou
  0 siblings, 1 reply; 11+ messages in thread
From: Rostislav Svoboda @ 2023-03-29 12:46 UTC (permalink / raw)
  To: 62522

Hi, please ignore this patch. I messed up. Sorry.
Cheers Bost




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

* bug#62520: Acknowledgement ([PATCH] gnu: Add emacs-pippel.)
  2023-03-29 12:46     ` [bug#62520] Acknowledgement ([PATCH] gnu: Add emacs-pippel.) Rostislav Svoboda
@ 2023-03-31  8:32       ` Nicolas Goaziou
  0 siblings, 0 replies; 11+ messages in thread
From: Nicolas Goaziou @ 2023-03-31  8:32 UTC (permalink / raw)
  To: 62520-done

Rostislav Svoboda <rostislav.svoboda@gmail.com> writes:

> Hi, please ignore this patch. I messed up. Sorry. Cheers Bost

Closing.




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

* bug#62521: Acknowledgement ([PATCH 2/2] gnu: Add emacs-railscasts-theme.)
  2023-03-29 12:46     ` [bug#62521] Acknowledgement ([PATCH 2/2] gnu: Add emacs-railscasts-theme.) Rostislav Svoboda
@ 2023-03-31  8:35       ` Nicolas Goaziou
  0 siblings, 0 replies; 11+ messages in thread
From: Nicolas Goaziou @ 2023-03-31  8:35 UTC (permalink / raw)
  To: 62521-done

Rostislav Svoboda <rostislav.svoboda@gmail.com> writes:

> Hi, please ignore this patch. I messed up. Sorry. Cheers Bost

Closing.




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

* bug#62522: Acknowledgement ([PATCH 1/2] gnu: Add emacs-sphinx-doc.)
  2023-03-29 12:46     ` [bug#62522] Acknowledgement ([PATCH 1/2] gnu: Add emacs-sphinx-doc.) Rostislav Svoboda
@ 2023-03-31  8:36       ` Nicolas Goaziou
  0 siblings, 0 replies; 11+ messages in thread
From: Nicolas Goaziou @ 2023-03-31  8:36 UTC (permalink / raw)
  To: 62522-done

Rostislav Svoboda <rostislav.svoboda@gmail.com> writes:

> Hi, please ignore this patch. I messed up. Sorry. Cheers Bost

Closing.




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

* bug#62519: [PATCH] gnu: Add emacs-gptel.
  2023-03-29 12:42 [bug#62519] [PATCH] gnu: Add emacs-gptel Rostislav Svoboda
                   ` (2 preceding siblings ...)
  2023-03-29 12:42 ` [bug#62521] [PATCH 2/2] gnu: Add emacs-railscasts-theme Rostislav Svoboda
@ 2023-04-08 12:08 ` Nicolas Goaziou
  3 siblings, 0 replies; 11+ messages in thread
From: Nicolas Goaziou @ 2023-04-08 12:08 UTC (permalink / raw)
  To: Rostislav Svoboda; +Cc: 62519-done

Hello,

Rostislav Svoboda <rostislav.svoboda@gmail.com> writes:

> * gnu/packages/emacs-xyz.scm (emacs-gptel): New variable.

I updated the package to 0.3.0, fixed Curl setting, and applied your
patch. Thank you.

Regards,
-- 
Nicolas Goaziou




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

end of thread, other threads:[~2023-04-08 12:09 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-29 12:42 [bug#62519] [PATCH] gnu: Add emacs-gptel Rostislav Svoboda
2023-03-29 12:42 ` [bug#62520] [PATCH] gnu: Add emacs-pippel Rostislav Svoboda
     [not found]   ` <handler.62520.B.168009382118119.ack@debbugs.gnu.org>
2023-03-29 12:46     ` [bug#62520] Acknowledgement ([PATCH] gnu: Add emacs-pippel.) Rostislav Svoboda
2023-03-31  8:32       ` bug#62520: " Nicolas Goaziou
2023-03-29 12:42 ` [bug#62522] [PATCH 1/2] gnu: Add emacs-sphinx-doc Rostislav Svoboda
     [not found]   ` <handler.62522.B.168009383018152.ack@debbugs.gnu.org>
2023-03-29 12:46     ` [bug#62522] Acknowledgement ([PATCH 1/2] gnu: Add emacs-sphinx-doc.) Rostislav Svoboda
2023-03-31  8:36       ` bug#62522: " Nicolas Goaziou
2023-03-29 12:42 ` [bug#62521] [PATCH 2/2] gnu: Add emacs-railscasts-theme Rostislav Svoboda
     [not found]   ` <handler.62521.B.168009382918146.ack@debbugs.gnu.org>
2023-03-29 12:46     ` [bug#62521] Acknowledgement ([PATCH 2/2] gnu: Add emacs-railscasts-theme.) Rostislav Svoboda
2023-03-31  8:35       ` bug#62521: " Nicolas Goaziou
2023-04-08 12:08 ` bug#62519: [PATCH] gnu: Add emacs-gptel Nicolas Goaziou

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.