blob: 82b74d9aeeaf52d0e5982be1a5ca1b2170babfee (
about) (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
(define-module (xyz euandreh docs)
#:use-module (gnu packages base)
#:use-module (gnu packages compression)
#:use-module (gnu packages markup)
#:use-module (gnu packages perl)
#:use-module (gnu packages perl-check)
#:use-module (guix licenses)
#:use-module (guix download)
#:use-module (guix packages)
#:use-module (guix build-system gnu)
#:use-module (guix build-system perl)
#:use-module (guix build-system trivial))
;; Remove once https://issues.guix.gnu.org/58588 is applied
(define-public perl-commonmark
(package
(name "perl-commonmark")
(version "0.290000")
(source (origin
(method url-fetch)
(uri (string-append
"mirror://cpan/authors/id/N/NW/NWELLNHOF/CommonMark-"
version ".tar.gz"))
(sha256
(base32
"1pgaqa4f00i9r5z7l9xiya0q51ysq0nhpvgr0f3rza3cxz1v80d5"))))
(build-system perl-build-system)
(arguments
`(#:make-maker-flags
;; facepalm, MakeMaker ignores LIBRARY_PATH!
(list (format #f "LIBS=-L~a/lib -lcmark" (assoc-ref %build-inputs "cmark")))))
(inputs
(list cmark
perl-test-leaktrace
perl-devel-checklib
perl-module-build))
(home-page "https://metacpan.org/release/CommonMark")
(synopsis "Interface to the CommonMark C library")
(description "This module is a wrapper around the official
CommonMark C library libcmark. It closely follows the original API.")
(license perl-license)))
(list
perl-commonmark)
|