Subject: [bug#55147] [PATCH]v2 gnu: emacs-plz: Update to 0.1.

From: Aleksandr Vityazev <[email-masked]>
Date: Sun, 15 May 2022 19:37:22 +0000

* gnu/packages/emacs-xyz (emacs-plz): Update to 0.1.
[source]: Use elpa instead of github.
---
 gnu/packages/emacs-xyz.scm | 38 +++++++++++++++++---------------------
 1 file changed, 17 insertions(+), 21 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 8a319fc0ff..7a5c6235fc 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -15710,29 +15710,25 @@ (define-public emacs-emamux
     (license license:gpl3+)))
 
 (define-public emacs-plz
-  (let ((commit "7e456638a651bab3a814e3ea81742dd917509cbb")
-        (revision "1"))
-    (package
-      (name "emacs-plz")
-      (version (git-version "0.1-pre" revision commit))
-      (source
-       (origin
-         (method git-fetch)
-         (uri (git-reference
-               (url "https://github.com/alphapapa/plz.el")
-               (commit commit)))
-         (file-name (git-file-name name version))
-         (sha256
-          (base32 "05kgxrps1s20im5hhq799nrs3615bvssm4r0ysgmwm203mmzsjgj"))))
-      (build-system emacs-build-system)
-      (inputs (list curl))
-      (home-page "https://github.com/alphapapa/plz.el")
-      (synopsis "HTTP library for Emacs")
-      (description
-       "This package provides HTTP library for Emacs.  It uses curl as
+  (package
+    (name "emacs-plz")
+    (version "0.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://elpa.gnu.org/packages/plz-" version ".tar"))
+       (sha256
+        (base32 "083qz6kfg4q8xy3vsfwlk2g9vbg8iym2axmyhh54naivrc096ghc"))))
+    (build-system emacs-build-system)
+    (inputs (list curl))
+    (home-page "https://github.com/alphapapa/plz.el")
+    (synopsis "HTTP library for Emacs")
+    (description
+     "This package provides HTTP library for Emacs.  It uses curl as
 a backend, which avoids some of the issues with using Emacs’s built-in url
 library.")
-      (license license:gpl3+))))
+    (license license:gpl3+)))
 
 (define-public emacs-ement
   (let ((commit "c951737dc855604aba389166bb0e7366afadc533")
-- 
2.36.0

-- 

Aleksandr Vityazev