all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Rostislav Svoboda <rostislav.svoboda@gmail.com>
To: 62520@debbugs.gnu.org
Cc: Rostislav Svoboda <Rostislav.Svoboda@gmail.com>
Subject: [bug#62520] [PATCH] gnu: Add emacs-pippel.
Date: Wed, 29 Mar 2023 14:42:18 +0200	[thread overview]
Message-ID: <20230329124220.7210-2-Rostislav.Svoboda@gmail.com> (raw)
In-Reply-To: <20230329124220.7210-1-Rostislav.Svoboda@gmail.com>

* 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





  reply	other threads:[~2023-03-29 13:47 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-29 12:42 [bug#62519] [PATCH] gnu: Add emacs-gptel Rostislav Svoboda
2023-03-29 12:42 ` Rostislav Svoboda [this message]
     [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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230329124220.7210-2-Rostislav.Svoboda@gmail.com \
    --to=rostislav.svoboda@gmail.com \
    --cc=62520@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.