unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#61007] [PATCH] gnu: emacs-origami-el: Fix cl package deprecation.
@ 2023-01-22 16:27 Nicolas Graves via Guix-patches via
  2023-01-22 16:39 ` Nicolas Goaziou
  2023-01-24 12:54 ` [bug#61007] [PATCH v2] gnu: emacs-origami-el: Add patch to fix " Nicolas Graves via Guix-patches via
  0 siblings, 2 replies; 4+ messages in thread
From: Nicolas Graves via Guix-patches via @ 2023-01-22 16:27 UTC (permalink / raw)
  To: 61007; +Cc: ngraves

* gnu/packages/emacs-xyz.scm (emacs-origami-el):
[source] Add patch to fix cl package deprecation.
[propagated-inputs] Formatting.
[home-page] Formatting.
---
 gnu/packages/emacs-xyz.scm | 24 +++++++++++++++---------
 1 file changed, 15 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 41a0ccf09e..ed5c3bd71d 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -28753,24 +28753,30 @@ (define-public emacs-rjsx-mode
 (define-public emacs-origami-el
   (let ((commit "1f38085c8f9af7842765ed63f7d6dfe4dab59366")
         (version "1.0")
-        (revision "1"))
+        (revision "1")
+        (url "https://github.com/gregsexton/origami.el")
+        (patch "1d9c4f120c027a5009b0424270e3aae59f1cb128"))
     (package
       (name "emacs-origami-el")
       (version (git-version version revision commit))
       (source
        (origin
          (method git-fetch)
-         (uri (git-reference
-               (url "https://github.com/gregsexton/origami.el")
-               (commit commit)))
+         (uri (git-reference (url url) (commit commit)))
          (file-name (git-file-name name version))
          (sha256
-          (base32
-           "0ha1qsz2p36pqa0sa2sp83lspbgx5lr7930qxnwd585liajzdd9x"))))
+          (base32 "0ha1qsz2p36pqa0sa2sp83lspbgx5lr7930qxnwd585liajzdd9x"))
+         (patches
+          (list
+           (origin
+             (method url-fetch)
+             (uri (string-append url "/commit/" patch ".patch"))
+             (sha256
+              (base32
+               "0yia4dhqjzdidxd77s2ggg6mmj05jbsnwc35myzzhzh1zbq8mrfy")))))))
       (build-system emacs-build-system)
-      (propagated-inputs
-       (list emacs-dash emacs-s))
-      (home-page "https://github.com/gregsexton/origami.el")
+      (propagated-inputs (list emacs-dash emacs-s))
+      (home-page url)
       (synopsis "Flexible text-folding")
       (description "This package provides a minor mode for collapsing and
 expanding regions of text without modifying the actual contents.")
-- 
2.39.1





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

end of thread, other threads:[~2023-01-25 17:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-22 16:27 [bug#61007] [PATCH] gnu: emacs-origami-el: Fix cl package deprecation Nicolas Graves via Guix-patches via
2023-01-22 16:39 ` Nicolas Goaziou
2023-01-24 12:54 ` [bug#61007] [PATCH v2] gnu: emacs-origami-el: Add patch to fix " Nicolas Graves via Guix-patches via
2023-01-25 17:44   ` Nicolas Goaziou

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).