gnu: gmni: Update to 1.0.

* gnu/packages/web-browsers.scm (gmni): Update to 1.0.
[arguments]<#:make-flags>: Use G-expressions.
[inputs]: Replace openssl with bearssl.
This commit is contained in:
Nicolas Goaziou 2022-01-18 10:56:04 +01:00
parent f73c2aba1c
commit f92d758f1d
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -44,6 +44,7 @@
#:use-module (guix build-system go) #:use-module (guix build-system go)
#:use-module (guix build-system python) #:use-module (guix build-system python)
#:use-module (guix download) #:use-module (guix download)
#:use-module (guix gexp)
#:use-module (guix git-download) #:use-module (guix git-download)
#:use-module ((guix licenses) #:prefix license:) #:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages) #:use-module (guix packages)
@ -734,40 +735,39 @@ history, and page outlines.")
(license license:bsd-2))) (license license:bsd-2)))
(define-public gmni (define-public gmni
(let ((commit "d8f0870446c471a42612d6a8e853ad9b723a6d39") (package
(revision "0")) (name "gmni")
(package (version "1.0")
(name "gmni") (source (origin
(version (git-version "0" revision commit)) (method git-fetch)
(source (origin (uri (git-reference
(method git-fetch) (url "https://git.sr.ht/~sircmpwn/gmni")
(uri (git-reference (commit version)))
(url "https://git.sr.ht/~sircmpwn/gmni") (sha256
(commit commit))) (base32
(sha256 "0bky9fd8iyr13r6gj4aynb7j9nd36xdprbgq6nh5hz6jiw04vhfw"))
(base32 (file-name (git-file-name name version))))
"1h0iqm7l0i06glf5b2872w656s1mjdiqva14zh6sl4f5yp7zmvwr")) (build-system gnu-build-system)
(file-name (git-file-name name version)))) (arguments
(build-system gnu-build-system) (list
(arguments #:tests? #f ;no check target
`(#:tests? #f ; no check target #:make-flags #~(list #$(string-append "CC=" (cc-for-target)))))
#:make-flags (list (string-append "CC=" ,(cc-for-target))))) (inputs
(inputs (list bearssl))
(list openssl)) (native-inputs
(native-inputs (list pkg-config scdoc))
(list pkg-config scdoc)) (home-page "https://sr.ht/~sircmpwn/gmni")
(home-page "https://sr.ht/~sircmpwn/gmni") (synopsis "Minimalist command line Gemini client")
(synopsis "Minimalist command line Gemini client") (description "The gmni package includes:
(description "The gmni package includes:
@itemize @itemize
@item A CLI utility (like curl): gmni @item A CLI utility (like curl): gmni
@item A line-mode browser: gmnlm @item A line-mode browser: gmnlm
@end itemize") @end itemize")
(license (list license:gpl3+ (license (list license:gpl3+
(license:non-copyleft (license:non-copyleft
"https://curl.se/docs/copyright.html" "https://curl.se/docs/copyright.html"
"Used only for files taken from curl.")))))) "Used only for files taken from curl.")))))
(define-public bombadillo (define-public bombadillo
(package (package