summaryrefslogtreecommitdiff
path: root/pandoc.scm
blob: 7de8cc7f5fd8e4897089a0d21dbb4693dbb068b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
(define-module (pandoc)
               #:use-module (guix packages)
               #:use-module (guix build-system gnu)
               #:use-module (guix licenses)
               #:use-module (guix download))

(define-public pandoc
    (package
      (name "pandoc")
      (version "2.7.3")
      (source (origin
                (method url-fetch)
                (uri (string-append "https://github.com/jgm/pandoc/releases/download/"
                                    version
                                    "/pandoc-" version "-linux.tar.gz"))
                (sha256
                  (base32
                    "0xfvmfw1yn72iiy52ia7sk6hgrvn62qwkw009l02j0y55va5yxzb"))))
      (build-system gnu-build-system)
      (arguments
        `(#:tests? #f
          #:phases (modify-phases
                     %standard-phases
                     (replace 'install
                              (lambda _
                                (copy-recursively "." %output)))
                     (delete 'build)
                     (delete 'configure))))
      (synopsis "A universal document converter")
      (description
        "If you need to convert files from one markup format into another,
pandoc is your swiss-army knife.")
      (home-page "https://pandoc.org")
      (license gpl2+)))