me
/
guix
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>
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
1 changed files with 33 additions and 27 deletions

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
(package (let ((commit "1de10c1d71bfb4348ae0beaec8b1547d5e114969")
(name "lowdown") (revision "1"))
(version "0.10.0") (package
(source (name "lowdown")
(origin (version (git-version "0.10.0" revision commit))
(method url-fetch) (source
(uri (string-append "https://kristaps.bsd.lv/lowdown/snapshots/lowdown-" (origin
version ".tar.gz")) (method git-fetch)
(sha256 (uri (git-reference
(base32 "15v2kk4ffqw3n6y6n9plch4qcib3ynnhw0ih8wn2v9qgn4jssp5p")))) (url "https://github.com/kristapsdz/lowdown")
(build-system gnu-build-system) (commit commit)))
(arguments (file-name (git-file-name name version))
`(#:test-target "regress" (sha256
#:phases (base32 "1wh07nkiihvp1m79sj4qlnqklnn0rfp3hwls8sqcp0bfd96wpa1h"))))
(modify-phases %standard-phases (build-system gnu-build-system)
(replace 'configure (arguments
(lambda* (#:key outputs #:allow-other-keys) (list
(let ((out (assoc-ref outputs "out"))) #:test-target "regress"
(invoke "./configure" #:phases
(string-append "PREFIX=" out) #~(modify-phases %standard-phases
(string-append "MANDIR=" out "/share/man")))))))) (replace 'configure
(native-inputs (lambda _
(list which)) (invoke "./configure"
(home-page "https://kristaps.bsd.lv/lowdown/") (string-append "PREFIX=" #$output)
(synopsis "Simple Markdown translator") (string-append "MANDIR=" #$output "/share/man")))))
(description "Lowdown is a Markdown translator producing HTML5, #:make-flags #~(list "CFLAGS=-fPIC")))
(native-inputs
(list which))
(home-page "https://kristaps.bsd.lv/lowdown/")
(synopsis "Simple Markdown translator")
(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