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

                                         


                                        


                              
                                      
                                       
                                           























                                                                                                                                 

                              

























                                                                                      

     
                
                 
(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
  (package
    (name "posix-man-pages")
    (version "2017-a")
    (source (origin
              (method url-fetch)
              (uri (string-append "mirror://kernel.org/linux/docs/man-pages/man-pages-posix/man-pages-posix-" version ".tar.xz"))
              (sha256
               (base32
                "1hwb65h9c7y8c69jiyhs0nphzisb7yl0br3jszd212q4nljvnryf"))))
    (build-system gnu-build-system)
    (arguments
     `(#:make-flags
       (list (string-append "prefix=" %output))
       #:tests? #f
       #:phases
       (modify-phases %standard-phases
         (delete 'configure))))
    (home-page "https://www.kernel.org/doc/man-pages/download.html")
    (synopsis "POSIX manual pages sections 0p, 1p and 3p")
    (description
     "This package provides the reference POSIX version of Unix \"man pages\"
documenting the specification.")
    (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)