Archived
1
0
Fork 0

gnu: lowdown: Update to 0.10.0-1-1de10c1.

* gnu/packages/markup.scm (lowdown): Update to 0.10.0-1-1de10c1.

Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
This commit is contained in:
Zhu Zihao 2022-01-11 23:01:38 +08:00 committed by Oleg Pykhalov
parent 651765eca4
commit cd6bd434fd
No known key found for this signature in database
GPG key ID: 167F8EA5001AFA9C

View file

@ -29,6 +29,7 @@
#:use-module ((guix licenses) #:prefix license:) #:use-module ((guix licenses) #:prefix license:)
#:use-module (guix download) #:use-module (guix download)
#:use-module (guix git-download) #:use-module (guix git-download)
#:use-module (guix gexp)
#:use-module (guix packages) #:use-module (guix packages)
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (guix build-system trivial) #:use-module (guix build-system trivial)
@ -121,34 +122,39 @@ convert it to structurally valid XHTML (or HTML).")
"See License.text in the distribution.")))) "See License.text in the distribution."))))
(define-public lowdown (define-public lowdown
(let ((commit "1de10c1d71bfb4348ae0beaec8b1547d5e114969")
(revision "1"))
(package (package
(name "lowdown") (name "lowdown")
(version "0.10.0") (version (git-version "0.10.0" revision commit))
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
(uri (string-append "https://kristaps.bsd.lv/lowdown/snapshots/lowdown-" (uri (git-reference
version ".tar.gz")) (url "https://github.com/kristapsdz/lowdown")
(commit commit)))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 "15v2kk4ffqw3n6y6n9plch4qcib3ynnhw0ih8wn2v9qgn4jssp5p")))) (base32 "1wh07nkiihvp1m79sj4qlnqklnn0rfp3hwls8sqcp0bfd96wpa1h"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:test-target "regress" (list
#:test-target "regress"
#:phases #:phases
(modify-phases %standard-phases #~(modify-phases %standard-phases
(replace 'configure (replace 'configure
(lambda* (#:key outputs #:allow-other-keys) (lambda _
(let ((out (assoc-ref outputs "out")))
(invoke "./configure" (invoke "./configure"
(string-append "PREFIX=" out) (string-append "PREFIX=" #$output)
(string-append "MANDIR=" out "/share/man")))))))) (string-append "MANDIR=" #$output "/share/man")))))
#:make-flags #~(list "CFLAGS=-fPIC")))
(native-inputs (native-inputs
(list which)) (list which))
(home-page "https://kristaps.bsd.lv/lowdown/") (home-page "https://kristaps.bsd.lv/lowdown/")
(synopsis "Simple Markdown translator") (synopsis "Simple Markdown translator")
(description "Lowdown is a Markdown translator producing HTML5, (description "Lowdown is a Markdown translator producing HTML5,
roff documents in the ms and man formats, LaTeX, gemini, and terminal output.") roff documents in the ms and man formats, LaTeX, gemini, and terminal output.")
(license license:isc))) (license license:isc))))
(define-public discount (define-public discount
(package (package