emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#62123: closed ([PATCH 3/4] gnu: Add emacs-pippel.)


From: GNU bug Tracking System
Subject: bug#62123: closed ([PATCH 3/4] gnu: Add emacs-pippel.)
Date: Thu, 30 Mar 2023 10:39:01 +0000

Your message dated Thu, 30 Mar 2023 12:38:40 +0200
with message-id <87edp6mslr.fsf@nicolasgoaziou.fr>
and subject line Re: [bug#62123] [PATCH 3/4] gnu: Add emacs-pippel.
has caused the debbugs.gnu.org bug report #62123,
regarding [PATCH 3/4] gnu: Add emacs-pippel.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
62123: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=62123
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH 3/4] gnu: Add emacs-pippel. Date: Sat, 11 Mar 2023 15:49:37 +0100
* gnu/packages/emacs-xyz.scm (emacs-pippel): 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 d371cfd6f3..cbd0e64e65 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -17358,6 +17358,44 @@ (define-public emacs-pinyinlib
 letter of Pinyin to Simplified/Traditional Chinese characters.")
     (license license:gpl3+)))
 
+(define-public emacs-pippel
+  (let ((commit "cb194952ee150e77601d3233dabdb521b976ee79")
+        (revision "0"))
+    (package
+      (name "emacs-pippel")
+      (version (git-version "1.4" 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)
+      (propagated-inputs
+       (list emacs-dash emacs-s))
+      (inputs
+       (list python))
+      (arguments
+       (list
+        #:phases
+        #~(modify-phases %standard-phases
+            (add-after 'unpack 'substitute-curl-path
+              (lambda* (#:key inputs #:allow-other-keys)
+                (emacs-substitute-variables "plz.el"
+                  ("pippel-python-command" (search-input-file
+                                            inputs "/bin/python"))))))))
+      (home-page "https://github.com/arifer612/pippel";)
+      (synopsis "Emacs frontend to Python package manager pip")
+      (description
+       "Emacs frontend for the Python package manager pip.  As pippel also uses
+@code{tabulated-list-mode}, it provides a similar package menu like
+@code{package-list-packages}.")
+      (license license:gpl3+))))
+
 (define-public emacs-reverse-im
   (package
     (name "emacs-reverse-im")
-- 
2.39.2




--- End Message ---
--- Begin Message --- Subject: Re: [bug#62123] [PATCH 3/4] gnu: Add emacs-pippel. Date: Thu, 30 Mar 2023 12:38:40 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
Hello,

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

> Done. Please have a look if it's done correctly.

Applied with the change below. Thank you.
> +            (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)))

I used `elpa-directory' here, and removed `out' binding.

Regards,
-- 
Nicolas Goaziou


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]