gnu: leo: Use GIT-VERSION.
* gnu/packages/web-browsers.scm (leo)[source]: Use `git-version' instead of crafting version string. Also fix indentation.
This commit is contained in:
parent
2149515808
commit
53afb3cf2a
1 changed files with 6 additions and 6 deletions
|
@ -930,10 +930,11 @@ interface.")
|
||||||
(define-public leo
|
(define-public leo
|
||||||
;; PyPi only provides a wheel.
|
;; PyPi only provides a wheel.
|
||||||
(let ((commit "88cc10a87afe2ec86be06e6ea2bcd099f5360b74")
|
(let ((commit "88cc10a87afe2ec86be06e6ea2bcd099f5360b74")
|
||||||
|
(version "1.0.4")
|
||||||
(revision "1"))
|
(revision "1"))
|
||||||
(package
|
(package
|
||||||
(name "leo")
|
(name "leo")
|
||||||
(version (string-append "1.0.4-" revision "." (string-take commit 9)))
|
(version (git-version version revision commit))
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
|
@ -942,15 +943,14 @@ interface.")
|
||||||
(commit commit)))
|
(commit commit)))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32 "0jp4v4jw82qqynqqs7x35g5yvm1sd48cvbqh7j2r1ixw1z6ldhc4"))))
|
||||||
"0jp4v4jw82qqynqqs7x35g5yvm1sd48cvbqh7j2r1ixw1z6ldhc4"))))
|
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(home-page "https://github.com/xyzshantaram/leo")
|
(home-page "https://github.com/xyzshantaram/leo")
|
||||||
(synopsis "Gemini client written in Python")
|
(synopsis "Gemini client written in Python")
|
||||||
(description
|
(description
|
||||||
"@command{leo} is a gemini client written in Python with no external
|
"@command{leo} is a gemini client written in Python with no external
|
||||||
dependencies that fully implements the Gemini spec. A list of URLs can
|
dependencies that fully implements the Gemini spec. A list of URLs can be
|
||||||
be saved to a file for further viewing in another window.")
|
saved to a file for further viewing in another window.")
|
||||||
(license license:expat))))
|
(license license:expat))))
|
||||||
|
|
||||||
(define-public av-98
|
(define-public av-98
|
||||||
|
|
Reference in a new issue