aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/pikchr.scm
blob: 5a26b11ac6f484a267fb39e57b10791e405ca3ad (about) (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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2022 pukkamustard <pukkamustard@posteo.net>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.

(define-module (gnu packages pikchr)
  #:use-module (guix packages)
  #:use-module (guix build-system gnu)
  #:use-module (guix download)
  #:use-module ((guix licenses) #:prefix license:))

(define-public pikchr
  (let ((commit "221988914eff6efe")
        (revision "0"))                       ;increment for each new snapshot
    (package
      (name "pikchr")
      ;; To update, use the last check-in in https://pikchr.org/home/timeline?r=trunk
      (version (string-append revision "-" (string-take commit 5)))
      (source (origin
                (method url-fetch)
                (uri (string-append "https://pikchr.org/home/tarball/" commit
                                    "/pikchr.tar.gz"))
                (file-name (string-append "pikchr-" version ".tar.gz"))
                (sha256
                 (base32
                  "0yclkincsgfni4scjzp5avdsij8vmyxjn0q2qkwjhn3p43y8nxzd"))))
      (build-system gnu-build-system)
      (arguments
       '(#:tests? #f                              ;no tests
         #:phases
         (modify-phases %standard-phases
           (delete 'bootstrap)
           (delete 'configure)
           (replace 'install
             (lambda* (#:key outputs #:allow-other-keys)
               (let* ((out (assoc-ref outputs "out"))
                      (bin (string-append out "/bin")))
                 (install-file "pikchr" bin)))))))
      (home-page "https://pikchr.org")
      (synopsis "Markup language for diagrams in technical documentation")
      (description
       "Pikchr (pronounced @emph{picture}) is a PIC-like markup language for
diagrams in technical documentation.  Pikchr is designed to be embedded in
fenced code blocks of Markdown or similar mechanisms of other documentation
markup languages.")
      (license license:bsd-0))))
.* gnu/packages/lua.scm (luajit-lua52-openresty): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr> Vinícius dos Santos Oliveira 2021-01-25gnu: fennel: Always run tests....* gnu/packages/lua.scm (fennel)[arguments]: Always enable tests. Efraim Flashner 2021-01-25gnu: fennel: Cross-build....* gnu/packages/lua.scm (fennel)[arguments]: Add phase to patch additional calls to lua binary. Adjust 'patch-fennel phase to specify specific lua location. Efraim Flashner 2021-01-25gnu: fennel: Install manpage....* gnu/packages/lua.scm (fennel)[arguments]: Add phase to install manpage. Efraim Flashner 2021-01-25gnu: fennel: Satisfy guix-lint....* gnu/packages/lua.scm (fennel)[synopsis]: Remove leading article. Efraim Flashner 2021-01-25gnu: fennel: Update to 0.8.0....* gnu/packages/lua.scm (fennel): Update to 0.8.0. [arguments]: Move 'check phase to after 'install phase. Efraim Flashner 2020-12-26gnu: Add fennel....* gnu/packages/lua.scm (fennel): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> Paul A. Patience 2020-11-16gnu: lua: Cross compile....* gnu/packages/lua.scm (lua)[arguments]: Use cc-for-target in make-flags. Set SYSLIBS to include readline. Efraim Flashner 2020-11-14gnu: lua-resty-lrucache: Update to 0.10....* gnu/packages/lua.scm (lua-resty-lrucache): Update to 0.10. Tobias Geerinckx-Rice 2020-11-14gnu: lua-resty-core: Update to 0.1.18....* gnu/packages/lua.scm (lua-resty-core): Update to 0.1.18. Tobias Geerinckx-Rice 2020-10-16gnu: make-lua-ossl: Fix bogus use of DESTDIR....* gnu/packages/lua.scm (make-lua-ossl)[arguments]: Set the standard PREFIX variable. Tobias Geerinckx-Rice 2020-10-14gnu: Add lua-resty-shell....* gnu/packages/lua.scm (lua-resty-shell): New variable. Oleg Pykhalov 2020-10-14gnu: Add lua-tablepool....* gnu/packages/lua.scm (lua-tablepool): New variable. Oleg Pykhalov 2020-10-14gnu: Add lua-resty-signal....* gnu/packages/lua.scm (lua-resty-signal): New variable. Oleg Pykhalov 2020-10-14gnu: Add lua-resty-lrucache....* gnu/packages/lua.scm (lua-resty-lrucache): New variable. Oleg Pykhalov 2020-10-14gnu: Add lua-resty-core....* gnu/packages/lua.scm (lua-resty-core): New variable. Oleg Pykhalov