aboutsummaryrefslogtreecommitdiff
path: root/src/xyz/euandreh/docs.scm
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-06-03 19:26:10 -0300
committerEuAndreh <eu@euandre.org>2022-06-03 19:26:10 -0300
commit1b6218439ca21cd27ef2229a991053f3b7312923 (patch)
tree0fca0042e9e37ba2a2b5741381ca4cd9a0874c2c /src/xyz/euandreh/docs.scm
parentsrc/xyz/euandreh/packages.scm: Indentation (diff)
downloadpackage-repository-1b6218439ca21cd27ef2229a991053f3b7312923.tar.gz
package-repository-1b6218439ca21cd27ef2229a991053f3b7312923.tar.xz
src/xyz/euandreh/docs.scm: Add perl-commonmark
Diffstat (limited to 'src/xyz/euandreh/docs.scm')
-rw-r--r--src/xyz/euandreh/docs.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/xyz/euandreh/docs.scm b/src/xyz/euandreh/docs.scm
index bf61e63..17b446d 100644
--- a/src/xyz/euandreh/docs.scm
+++ b/src/xyz/euandreh/docs.scm
@@ -1,10 +1,14 @@
(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))
(define-public posix-man-pages
@@ -69,8 +73,35 @@ documenting the specification.")
"This package provies reference RFC (Request For Comments) documents.")
(license gpl2+))) ;; FIXME
+(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 "FIXME")
+ (license perl-license)))
(list
posix-man-pages
+ perl-commonmark
#;
rfcs)