aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/uml.scm
blob: 77d6c30b6d878a9530426ea1b89d47640af7e735 (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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2016 Theodoros Foradis <theodoros@foradis.org>
;;; Copyright © 2019 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
;;; Copyright © 2022 jgart <jgart@dismail.de>
;;;
;;; 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 uml)
  #:use-module ((guix licenses) #:prefix license:)
  #:use-module (guix packages)
  #:use-module (guix download)
  #:use-module (guix utils)
  #:use-module (guix build-system ant)
  #:use-module (gnu packages graphviz)
  #:use-module (gnu packages java))

(define-public plantuml
  (package
    (name "plantuml")
    (version "1.2023.7")
    (source (origin
              (method url-fetch)
              (uri (string-append "mirror://sourceforge/plantuml/"
                                  version "/plantuml-" version ".tar.gz"))
              (sha256
               (base32
                "0680hlhmwvzp1fw3zdsmy2x4szdhpdjgk028674fg3hwzwk5fv40"))))
    (build-system ant-build-system)
    (arguments
     `(#:tests? #f                      ; no tests
       #:build-target "dist"
       #:phases
       (modify-phases %standard-phases
         (add-before 'build 'delete-extra-from-classpath
           (lambda _
             (substitute* "build.xml"
               (("1.6") "1.7")
               (("<attribute name=\"Class-Path\"") "<!--")
               (("ditaa0_9.jar\" />") "-->"))
             #t))
         (add-after 'delete-extra-from-classpath 'patch-usr-bin-dot
           (lambda* (#:key inputs #:allow-other-keys)
             (let ((dot (search-input-file inputs "/bin/dot")))
               (substitute*
                   "src/net/sourceforge/plantuml/dot/GraphvizLinux.java"
                 (("/usr/bin/dot") dot)))
             #t))
         (replace 'install
           (lambda* (#:key outputs #:allow-other-keys)
             (install-file "plantuml.jar" (string-append
                                           (assoc-ref outputs "out")
                                           "/share/java"))
             #t))
         (add-after 'install 'make-wrapper
           (lambda* (#:key inputs outputs #:allow-other-keys)
             (let* ((out (assoc-ref outputs "out"))
                    (wrapper (string-append out "/bin/plantuml")))
               (mkdir-p (string-append out "/bin"))
               (with-output-to-file wrapper
                 (lambda _
                   (display
                    (string-append
                     "#!/bin/sh\n\n"
                     (assoc-ref inputs "jre") "/bin/java -jar "
                     out "/share/java/plantuml.jar \"$@\"\n"))))
               (chmod wrapper #o555))
             #t)))))
    (inputs
     `(("graphviz" ,graphviz)
       ("jre" ,icedtea)))
    (home-page "https://plantuml.com/")
    (synopsis "Draw UML diagrams from simple textual description")
    (description
     "Plantuml is a tool to generate sequence, usecase, class, activity,
component, state, deployment and object UML diagrams, using a simple and
human readable text description.  Contains @code{salt}, a tool that can design
simple graphical interfaces.")
    (license license:gpl3+)))
rum): Use the upstream origin instead of the Flowee's fork of it, updates and expands the synopsis and description. Updates the package to 1.9.1 and build without any bundled libraries with the help of a patch. * gnu/packages/patches/fulcrum-1.9.1-unbundled-libraries.patch: New patch. * gnu/local.mk (dist_patch_DATA): Add it. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Jean-Pierre De Jesus DIAZ 2023-09-22gnu: python-duniterpy: Update to 1.1.1....* gnu/packages/finance.scm (python-duniterpy): Update to 1.1.1. [build-system]: Switch to PYPROJECT-BUILD-SYSTEM. [arguments]: Add more tweaks for hard coded version ranges. [native-inputs]: Add PYTHON-POETRY-CORE. Marius Bakke 2023-09-04gnu: p2pool: Update to 3.6.2....* gnu/packages/finance.scm (p2pool): Update to 3.6.2. Guillaume Le Vaillant 2023-09-02gnu: electrum: Update to 4.4.6....* gnu/packages/finance.scm (electrum): Update to 4.4.6. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> fanquake 2023-07-30gnu: homebank: Update to 5.6.6....* gnu/packages/finance.scm (homebank): Update to 5.6.6. Tobias Geerinckx-Rice 2023-07-18gnu: texlive-tex-texinfo -> texlive-texinfo....* gnu/packages/tex.scm (texlive-texinfo): New variable. (texlive-tex-texinfo): Deprecate variable. * doc/build.scm (pdf-manual): * gnu/packages/finance.scm (optionmatrix): * gnu/packages/lisp.scm (sbcl): * gnu/packages/plotutils.scm (asymptote): * gnu/packages/scheme.scm (mit-scheme): * gnu/packages/xdisorg.scm (xforms): Use new name. Nicolas Goaziou 2023-07-10gnu: electrum: Update to 4.4.5....* gnu/packages/finance.scm (electrum): Update to 4.4.5. Signed-off-by: Guillaume Le Vaillant <glv@posteo.net> Michael Ford 2023-07-10gnu: ledger: Update to 3.3.2....* gnu/packages/finance.scm (ledger): Update to 3.3.2. Signed-off-by: Guillaume Le Vaillant <glv@posteo.net> Michael Ford 2023-07-10gnu: homebank: Update to 5.6.5....* gnu/packages/finance.scm (homebank): Update to 5.6.5. Signed-off-by: Guillaume Le Vaillant <glv@posteo.net> Michael Ford 2023-07-04gnu: p2pool: Update to 3.5....* gnu/packages/finance.scm (p2pool): Update to 3.5. Guillaume Le Vaillant 2023-07-04gnu: xmrig: Update to 6.20.0....* gnu/packages/finance.scm (xmrig): Update to 6.20.0. Signed-off-by: Guillaume Le Vaillant <glv@posteo.net> Ahmad Draidi 2023-06-19gnu: electron-cash: Update to 4.3.1....* gnu/packages/finance.scm (electron-cash): Update to 4.3.1. Guillaume Le Vaillant 2023-06-19gnu: electrum: Update to 4.4.4....* gnu/packages/finance.scm (electrum): Update to 4.4.4. [arguments]: Remove 'fix-prefix' and 'relax-dnspython-version-requirement' phases. Update 'use-libsecp256k1-input' phase. Guillaume Le Vaillant 2023-06-11gnu: p2pool: Update to 3.4....* gnu/packages/finance.scm (p2pool): Update to 3.4. [arguments]: Update 'check' phase. Guillaume Le Vaillant 2023-05-30gnu: bitcoin-core: Update to 25.0....* gnu/packages/finance.scm (bitcoin-core): Update to 25.0. Signed-off-by: Guillaume Le Vaillant <glv@posteo.net> Michael Ford 2023-05-26gnu: Remove bitcoin-abc....This package (version 0.21.12 from July 2020, which currently doesn't build) is for an outdated version of the Bitcoin Cash protocol. Since November 2020, the bitcoin-abc program has become an implementation of the eCash protocol, which is different from Bitcoin Cash (different consensus model). * gnu/packages/finance.scm (bitcoin-abc): Remove variable. Signed-off-by: Simon Tournier <zimon.toutoune@gmail.com> Guillaume Le Vaillant 2023-05-22gnu: homebank: Update to 5.6.3....* gnu/packages/finance.scm (homebank): Update to 5.6.3. Signed-off-by: Ludovic Courtès <ludo@gnu.org> fanquake 2023-05-21gnu: xmrig: Update to 6.19.2....* gnu/packages/finance.scm (xmrig): Update to 6.19.2. [description]: Fix typos. Ahmad Draidi 2023-05-20gnu: bitcoin-core-24.1: Rename to bitcoin-core....* gnu/packages/finance.scm (bitcoin-core): Remove variable. (bitcoin-core-24.1): Rename to bitcoin-core. Guillaume Le Vaillant 2023-05-19gnu: bitcoin-core: Update to 24.1....* gnu/packages/finance.scm (bitcoin-core): Update to 24.1. Signed-off-by: Guillaume Le Vaillant <glv@posteo.net> Michael Ford 2023-05-19gnu: bitcoin-unlimited: Update to 2.0.0.0....* gnu/packages/finance.scm (bitcoin-unlimited): Update to 2.0.0.0. [arguments]: Update 'fix-tests' phase. Guillaume Le Vaillant 2023-05-14gnu: bitcoin-core: Update to 23.1....* gnu/packages/finance.scp (bitcoin-core): Update to 23.1. [inputs]: Add sqlite. Signed-off-by: Guillaume Le Vaillant <glv@posteo.net> Michael Ford