[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/15: gnu: Add perl-commonmark.
From: |
guix-commits |
Subject: |
05/15: gnu: Add perl-commonmark. |
Date: |
Tue, 18 Oct 2022 06:14:55 -0400 (EDT) |
cbaines pushed a commit to branch master
in repository guix.
commit 6d32d835aa40f655a42422765348cae9ba8eb334
Author: EuAndreh <eu@euandre.org>
AuthorDate: Mon Oct 17 17:38:43 2022 -0300
gnu: Add perl-commonmark.
* gnu/packages/markup.scm (perl-commonmark): New variable.
Signed-off-by: Christopher Baines <mail@cbaines.net>
---
gnu/packages/markup.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/gnu/packages/markup.scm b/gnu/packages/markup.scm
index 791035deb3..35dd6d257b 100644
--- a/gnu/packages/markup.scm
+++ b/gnu/packages/markup.scm
@@ -46,6 +46,7 @@
#:use-module (gnu packages compression)
#:use-module (gnu packages libffi)
#:use-module (gnu packages perl)
+ #:use-module (gnu packages perl-check)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
#:use-module (gnu packages python-xyz)
@@ -360,6 +361,33 @@ for parsing and rendering CommonMark.")
;; licensed. See 'COPYING' in the source distribution for more information.
(license (list license:bsd-2 license:expat license:cc-by-sa4.0))))
+(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
+ ;; 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 an XS wrapper around the official
+CommonMark C library libcmark. It closely follows the original API.")
+ (license license:perl-license)))
+
(define-public cmark-gfm
(package
(inherit cmark)
- branch master updated (054ddcbbc6 -> 0289312bc9), guix-commits, 2022/10/18
- 12/15: gnu: Add perl-ppix-quotelike., guix-commits, 2022/10/18
- 15/15: gnu: guix-build-coordinator: Update to 0-65.26fe4a7., guix-commits, 2022/10/18
- 14/15: gnu: Add perl-critic., guix-commits, 2022/10/18
- 10/15: gnu: Add perl-string-format., guix-commits, 2022/10/18
- 05/15: gnu: Add perl-commonmark.,
guix-commits <=
- 11/15: gnu: Add perl-ppix-regexp., guix-commits, 2022/10/18
- 04/15: gnu: Add skk-jisyo., guix-commits, 2022/10/18
- 06/15: gnu: Add perl-regexp-grammars., guix-commits, 2022/10/18
- 07/15: gnu: Add perl-config-tiny., guix-commits, 2022/10/18
- 01/15: gnu: textpieces: Reorder dependencies and fix description., guix-commits, 2022/10/18
- 02/15: services: nginx: Use nginx-action over inline gexp., guix-commits, 2022/10/18
- 08/15: gnu: Add perl-pod-spell., guix-commits, 2022/10/18
- 13/15: gnu: Add perl-ppix-utilities., guix-commits, 2022/10/18
- 03/15: services: nginx: Improve reload action documentation., guix-commits, 2022/10/18
- 09/15: gnu: Add perl-readonly-xs., guix-commits, 2022/10/18