guix-commits
[Top][All Lists]
Advanced

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

branch master updated: gnu: leo: Use GIT-VERSION.


From: guix-commits
Subject: branch master updated: gnu: leo: Use GIT-VERSION.
Date: Sun, 05 Dec 2021 06:09:44 -0500

This is an automated email from the git hooks/post-receive script.

ngz pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 53afb3c  gnu: leo: Use GIT-VERSION.
53afb3c is described below

commit 53afb3cf2adc9d83b03f5be834ca99e5f0db9d5b
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sun Dec 5 12:08:16 2021 +0100

    gnu: leo: Use GIT-VERSION.
    
    * gnu/packages/web-browsers.scm (leo)[source]: Use `git-version' instead of
    crafting version string.  Also fix indentation.
---
 gnu/packages/web-browsers.scm | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/web-browsers.scm b/gnu/packages/web-browsers.scm
index af14279..f707ddb 100644
--- a/gnu/packages/web-browsers.scm
+++ b/gnu/packages/web-browsers.scm
@@ -930,10 +930,11 @@ interface.")
 (define-public leo
   ;; PyPi only provides a wheel.
   (let ((commit "88cc10a87afe2ec86be06e6ea2bcd099f5360b74")
+        (version "1.0.4")
         (revision "1"))
     (package
       (name "leo")
-      (version (string-append "1.0.4-" revision "." (string-take commit 9)))
+      (version (git-version version revision commit))
       (source
        (origin
          (method git-fetch)
@@ -942,15 +943,14 @@ interface.")
                (commit commit)))
          (file-name (git-file-name name version))
          (sha256
-          (base32
-           "0jp4v4jw82qqynqqs7x35g5yvm1sd48cvbqh7j2r1ixw1z6ldhc4"))))
+          (base32 "0jp4v4jw82qqynqqs7x35g5yvm1sd48cvbqh7j2r1ixw1z6ldhc4"))))
       (build-system python-build-system)
       (home-page "https://github.com/xyzshantaram/leo";)
       (synopsis "Gemini client written in Python")
       (description
-"@command{leo} is a gemini client written in Python with no external
-dependencies that fully implements the Gemini spec.  A list of URLs can
-be saved to a file for further viewing in another window.")
+       "@command{leo} is a gemini client written in Python with no external
+dependencies that fully implements the Gemini spec.  A list of URLs can be
+saved to a file for further viewing in another window.")
       (license license:expat))))
 
 (define-public av-98



reply via email to

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