From 1b6218439ca21cd27ef2229a991053f3b7312923 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Fri, 3 Jun 2022 19:26:10 -0300 Subject: src/xyz/euandreh/docs.scm: Add perl-commonmark --- src/xyz/euandreh/docs.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) (limited to 'src/xyz/euandreh/docs.scm') 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) -- cgit v1.2.3