aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-03-11 12:20:51 -0300
committerEuAndreh <eu@euandre.org>2021-03-11 12:20:51 -0300
commit5f6f76ddfb7a6658508addb1758beac4c485f152 (patch)
tree9326e48ed363fc11ea1118cf3e8cde1beb8f8639
parentsrc/xyz/euandreh/queue.scm: Add required dependencies for building Perl::Critic (diff)
downloadpackage-repository-5f6f76ddfb7a6658508addb1758beac4c485f152.tar.gz
package-repository-5f6f76ddfb7a6658508addb1758beac4c485f152.tar.xz
queue.scm: WIP template and commonmark
-rw-r--r--src/xyz/euandreh/queue.scm81
1 files changed, 79 insertions, 2 deletions
diff --git a/src/xyz/euandreh/queue.scm b/src/xyz/euandreh/queue.scm
index 38df9a4..5899a3e 100644
--- a/src/xyz/euandreh/queue.scm
+++ b/src/xyz/euandreh/queue.scm
@@ -7,7 +7,8 @@
#:use-module (gnu packages)
#:use-module (gnu packages perl)
#:use-module (gnu packages perl-check)
- #:use-module (gnu packages language))
+ #:use-module (gnu packages language)
+ #:use-module (gnu packages markup))
(define-public perl-tidy
(package
@@ -251,7 +252,83 @@ and applying coding standards to Perl source code. Essentially, it
is a static source code analysis engine.")
(license license:perl-license)))
+(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)
+ (inputs
+ `(("perl-devel-checklib", perl-devel-checklib)))
+ (native-inputs
+ `(("cmark" ,cmark "out")))
+ (home-page "https://metacpan.org/pod/CommonMark")
+ (synopsis "Perl interface to the CommonMark C library")
+ (description "This module is a Perl wrapper around the official
+CommonMark C library libcmark. It closely follows the original API.")
+ (license license:perl-license)))
+
+(define-public perl-test2-v0
+ (package
+ (name "perl-test2-v0")
+ (version "0.000139")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/E/EX/EXODIST/Test2-Suite-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "0hwp0w8qncb0rhf99j94w6fc91kszdn0y90psy4cnd7c2904g6sm"))))
+ (build-system perl-build-system)
+ (home-page "https://metacpan.org/pod/Test2::V0")
+ (synopsis "0Th edition of the Test2 recommended bundle")
+ (description "
+FIXME
+")
+ (license license:perl-license)))
+
+
+(define-public perl-template-mustache
+ (package
+ (name "perl-template-mustache")
+ (version "1.3.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://cpan/authors/id/Y/YA/YANICK/Template-Mustache-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "00czyfqhl52cx4zjnbhcp2xq0sywj1bzpjqgri6513mrcgymjnx0"))))
+ (inputs
+ `(("perl-list-allutils" ,perl-list-allutils)
+ ("perl-moo" ,perl-moo)
+ ("perl-parse-recdescent" ,perl-parse-recdescent)
+ ("perl-path-tiny" ,perl-path-tiny)
+ ("perl-test-exception" ,perl-test-exception)
+ ("perl-test-requires" ,perl-test-requires)
+ ("perl-yaml-libyaml" ,perl-yaml-libyaml)
+ ("perl-test2-v0" ,perl-test2-v0)))
+ (build-system perl-build-system)
+ (home-page "https://metacpan.org/pod/Template::Mustache")
+ (synopsis "Perl library for the Mustache templating language")
+ (description "Template::Mustache is an implementation of the
+Mustache templating language for Perl. This version of
+Template::Mustache conforms to v1.1.3 of the Mustache specs.")
+ (license license:perl-license)))
+
(list
perl-tidy
perl-b-lint
- perl-critic)
+ perl-critic
+ perl-commonmark
+ #;
+ perl-template-mustache)