aboutsummaryrefslogblamecommitdiff
path: root/src/xyz/euandreh/pending.scm
blob: 3b83085fa57db250369ba0e38fca4081a0093c7a (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                   


                                        

                              
                                        
 
                                                           























                                                                                      

                                                                     






















                                                                            

     

                      
(define-module (xyz euandreh pending)
  #:use-module ((guix licenses) #:prefix licenses:)
  #:use-module (gnu packages markup)
  #:use-module (gnu packages perl)
  #:use-module (gnu packages perl-check)
  #:use-module (guix download)
  #:use-module (guix packages)
  #:use-module (guix build-system perl))

;; 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 licenses:perl-license)))

;; Remove once https://issues.guix.gnu.org/58593 is applied
(define-public perl-regexp-grammars
  (package
    (name "perl-regexp-grammars")
    (version "1.057")
    (source
      (origin
        (method url-fetch)
        (uri (string-append
               "mirror://cpan/authors/id/D/DC/DCONWAY/Regexp-Grammars-"
               version
               ".tar.gz"))
        (sha256
          (base32 "0hbh2yn39mg6ljg8srcgpz2fsqxlzpgljz5mmq0xf72632cc2lxg"))))
    (build-system perl-build-system)
    (native-inputs
      (list perl-module-build))
    (home-page "https://metacpan.org/release/Regexp-Grammars")
    (synopsis "Add grammatical parsing features to Perl 5.10 regexes")
    (description "")
    (license licenses:perl-license)))

(list
 perl-commonmark
 perl-regexp-grammars)