aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/uml.scm
blob: 2202316016b18dc09de44d0afb1fc87692a4e79c (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>
;;;
;;; 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.2020.19")
    (source (origin
              (method url-fetch)
              (uri (string-append "mirror://sourceforge/plantuml/"
                                  version "/plantuml-" version ".tar.gz"))
              (sha256
               (base32
                "0ja2f72x2qd11pkgh1qj6k03yq9ljwsvd6lh84nndwhrbdj5vns7"))))
    (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 (string-append (assoc-ref inputs "graphviz")
                                       "/bin/dot")))
               (substitute*
                   "src/net/sourceforge/plantuml/cucadiagram/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+)))
Zhu Zihao 2020-10-10gnu: fakeroot: Update to 1.25.1....* gnu/packages/linux.scm (fakeroot): Update to 1.25.1. [arguments]: Override the 'bootstrap' phase. Remove obsolete statx workaround. [native-inputs]: Add AUTOCONF, AUTOMAKE, LIBTOOL, GETTEXT-MINIMAL, and PO4A. While at it, move ACL ... [inputs]: ... here, where it belongs according to libfakeroot.la. Marius Bakke 2020-10-10gnu: Add liburing....* gnu/packages/linux.scm (liburing): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Greg Hogan 2020-10-09gnu: linux-libre 4.19: Update to 4.19.150....* gnu/packages/linux.scm (linux-libre-4.19-version): Update 4.19.150. (linux-libre-4.19-pristine-source): Update hash. Leo Famulari 2020-10-09gnu: linux-libre 5.4: Update to 5.4.70....* gnu/packages/linux.scm (linux-libre-5.4-version): Update 5.4.70. (linux-libre-5.4-pristine-source): Update hash. Leo Famulari 2020-10-09gnu: linux-libre: Update to 5.8.14....* gnu/packages/linux.scm (linux-libre-5.8-version): Update to 5.8.14. (linux-libre-5.8-pristine-source): Update hash. Leo Famulari 2020-10-06gnu: pipewire: Update to 0.3.13....* gnu/packages/linux.scm (pipewire): Update to 0.3.13. Tobias Geerinckx-Rice 2020-10-06gnu: libbpf: Fix erroneous use of DESTDIR....It broke the pkg-config file and is almost always a mistake. * gnu/packages/linux.scm (libbpf)[arguments]: Correctly set PREFIX. Tobias Geerinckx-Rice 2020-10-05Merge branch 'master' into stagingGuillaume Le Vaillant 2020-10-03gnu: linux-libre 4.4: Update to 4.4.238....* gnu/packages/linux.scm (linux-libre-4.4-version): Update to 4.4.238. (linux-libre-4.4-pristine-source): Update hash. Leo Famulari 2020-10-03gnu: linux-libre 4.9: Update to 4.9.238....* gnu/packages/linux.scm (linux-libre-4.9-version): Update to 4.9.238. (linux-libre-4.9-pristine-source): Update hash. Leo Famulari 2020-10-03gnu: linux-libre 4.14: Update to 4.14.200....* gnu/packages/linux.scm (linux-libre-4.14-version): Update to 4.14.200. (linux-libre-4.14-pristine-source): Update hash. Leo Famulari 2020-10-03gnu: linux-libre 4.19: Update to 4.19.149....* gnu/packages/linux.scm (linux-libre-4.19-version): Update to 4.19.149. (linux-libre-4.19-pristine-source): Update hash. Leo Famulari 2020-10-03gnu: linux-libre 5.4: Update to 5.4.69....* gnu/packages/linux.scm (linux-libre-5.4-version): Update to 5.4.69. (linux-libre-5.4-pristine-source): Update hash. Leo Famulari 2020-10-03gnu: linux-libre: Update to 5.8.13....* gnu/packages/linux.scm (linux-libre-5.8-version): Update to 5.8.13. (linux-libre-5.8-pristine-source): Update hash. Leo Famulari 2020-09-30gnu: linux-libre 4.19: Update to 4.19.148....* gnu/packages/linux.scm (linux-libre-4.19-version): Update to 4.19.148. (linux-libre-4.19-pristine-source): Update hash. Leo Famulari 2020-09-30gnu: linux-libre 5.4: Update to 5.4.68....* gnu/packages/linux.scm (linux-libre-5.4-version): Update to 5.4.68. (linux-libre-5.4-pristine-source): Update hash. Leo Famulari 2020-09-30gnu: linux-libre: Update to 5.8.12....* gnu/packages/linux.scm (linux-libre-5.8-version): Update to 5.8.12. (linux-libre-5.8-pristine-source): Update hash. Leo Famulari 2020-09-27gnu: bbswitch-module: Fix build on Linux >= 5.6....* gnu/packages/linux.scm (bbswitch-module): Update to 20200526. Pierre Neidhardt 2020-09-26gnu: Add ipset....* gnu/packages/linux.scm (ipset): New variable. Oleg Pykhalov 2020-09-25gnu: linux-libre 4.4: Update to 4.4.237....* gnu/packages/linux.scm (linux-libre-4.4-version): Update to 4.4.237. (linux-libre-4.4-pristine-source): Update hash. Leo Famulari 2020-09-25gnu: linux-libre 4.9: Update to 4.9.237....* gnu/packages/linux.scm (linux-libre-4.9-version): Update to 4.9.237. (linux-libre-4.9-pristine-source): Update hash. Leo Famulari 2020-09-25gnu: linux-libre 4.14: Update to 4.14.199....* gnu/packages/linux.scm (linux-libre-4.14-version): Update to 4.14.199. (linux-libre-4.14-pristine-source): Update hash. Leo Famulari 2020-09-25gnu: linux-libre 4.19: Update to 4.19.147....* gnu/packages/linux.scm (linux-libre-4.19-version): Update to 4.19.147. (linux-libre-4.19-pristine-source): Update hash. Leo Famulari 2020-09-25gnu: linux-libre 5.4: Update to 5.4.67....* gnu/packages/linux.scm (linux-libre-5.4-version): Update to 5.4.67. (linux-libre-5.4-pristine-source): Update hash. Leo Famulari 2020-09-25gnu: linux-libre: Update to 5.8.11....* gnu/packages/linux.scm (linux-libre-5.8-version): Update to 5.8.11. (linux-libre-5.8-pristine-source): Update hash. Leo Famulari 2020-09-24gnu: util-linux: Search for setuid helper programs as well....To allow using mount as an unprivileged user, the helper commands must also be setuid. Before this change, the 'mount' command would only look under /run/current/profile/sbin. Extend the default path to include /run/setuid-programs as well. Partially addresses <https://issues.guix.gnu.org/39670>. * gnu/packages/linux.scm (util-linux)[configure-flags]: Prepend "/run/setuid-programs:" to the default search path. Reported-by: Nathan Dehnel <ncdehnel@gmail.com> Maxim Cournoyer 2020-09-24gnu: ntfs-3g: Do not generate static libraries....* gnu/packages/linux.scm (ntfs-3g)[configure-flags]: Add "--disable-static". Maxim Cournoyer 2020-09-23Merge branch 'staging' into wip-lispGuillaume Le Vaillant 2020-09-23gnu: Fix typoes in package descriptions....* gnu/packages/audio.scm (caps-plugins-lv2)[synopsis]: Fix typo. * gnu/packages/bioconductor.scm (r-karyoploter, r-anota, r-gcrma) (r-bigmemoryextras)[description]: Likewise. * gnu/packages/cran.scm (r-geometry)[synopsis]: Likewise. (r-stringdist, r-patchwork, r-depth, r-tea)[description]: Likewise. * gnu/packages/crates-io.scm (rust-assert-fs-0.11, rust-notify-4) (rust-tokio-fs-0.1)[synopsis, description]: Likewise. (rust-blas-sys-0.7)[description]: Likewise. (rust-fs-extra-1.1, rust-xattr-0.2)[synopsis]: Likewise. * gnu/packages/databases.scm (perl-mysql-config)[description]: Likewise. * gnu/packages/disk.scm (hddtemp)[description]: Likewise. * gnu/packages/django.scm (python-djangorestframework)[description]: Likewise. * gnu/packages/documentation.scm (doc++)[description]: Likewise. * gnu/packages/emacs-xyz.scm (emacs-kakoune, emacs-pyim-basedict, eless) (emacs-scpaste)[description]: Likewise. * gnu/packages/file-systems.scm (dbxfs)[description]: Likewise. * gnu/packages/finance.scm (python-stdnum)[description]: Likewise. * gnu/packages/fontutils.scm (woff2)[description]: Likewise. * gnu/packages/games.scm (openttd-opengfx)[description]: Likewise. * gnu/packages/gnome-xyz.scm (gnome-shell-extension-topicons-redux) [description]: Likewise. * gnu/packages/gnome.scm (libgrss)[description]: Likewise. * gnu/packages/golang.scm (go-github-com-mitchellh-reflectwalk) [description]: Likewise. (go-github-com-go-git-go-billy)[synopsis, description]: Likewise. * gnu/packages/haskell-check.scm (ghc-inspection-testing)[description]: Likewise. * gnu/packages/haskell-web.scm (ghc-yesod-form)[description]: Likewise. * gnu/packages/haskell-xyz.scm (ghc-hex)[description]: Likewise. * gnu/packages/hyperledger.scm (hyperledger-iroha-ed25519)[description]: Likewise. * gnu/packages/java.scm (java-mail)[synopsis]: Likewise. (java-native-access-platform)[description]: Likewise. * gnu/packages/kde-frameworks.scm (kactivities-stats)[description]: Likewise. * gnu/packages/kde-utils.scm (krusader)[description]: Likewise. * gnu/packages/language.scm (praat)[description]: Likewise. * gnu/packages/linux.scm (light)[description]: Likewise. * gnu/packages/lisp-xyz.scm (sbcl-hu.dwim.defclass-star)[description]: Likewise. * gnu/packages/mail.scm (dovecot-trees, sieve-connect)[description]: Likewise. * gnu/packages/ocaml.scm (ocaml-opam-file-format, ocaml-cppo) (ocaml4.07-ppx-variants-conv)[description]: Likewise. * gnu/packages/perl.scm (perl-convert-binhex)[description]: Likewise. * gnu/packages/python-crypto.scm (python-ecdsa)[description]: Likewise. * gnu/packages/python-web.scm (python-html5lib)[synopsis, description]: Likewise. (python-venusian)[synopsis]: Likewise. * gnu/packages/python-xyz.scm (python-readlike, python-gssapi) (python-flufl-i18n)[description]: Likewise. (python-pox, python-watchdog, python-xattr)[synopsis, description]: Likewise. * gnu/packages/ruby.scm (ruby-sorcerer)[description]: Likewise. * gnu/packages/rust-apps.scm (watchexec)[description]: Likewise. * gnu/packages/rust.scm (mrustc)[synopsis]: Likewise. * gnu/packages/shells.scm (s-shell)[description]: Likewise. * gnu/packages/ssh.scm (sshpass)[description]: Likewise. * gnu/packages/terminals.scm (beep)[description]: Likewise. * gnu/packages/web.scm (perl-lwp-useragent-cached)[description]: Likewise. * gnu/packages/wv.scm (wv)[description]: Likewise. Tobias Geerinckx-Rice 2020-09-23gnu: mcelog: Update to 172....* gnu/packages/linux.scm (mcelog): Update to 172. Tobias Geerinckx-Rice 2020-09-23gnu: numactl: Update to 2.0.14....* gnu/packages/linux.scm (numactl): Update to 2.0.14. Tobias Geerinckx-Rice 2020-09-23gnu: bridge-utils: Update to 1.7....* gnu/packages/linux.scm (bridge-utils): Update to 1.7. [source]: Update URL subdirectory. Tobias Geerinckx-Rice