aboutsummaryrefslogtreecommitdiff
;;; 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, 2024 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 git-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.2024.6")
    (source (origin
              (method git-fetch)
              (uri (git-reference
                    (url "https://github.com/plantuml/plantuml/")
                    (commit (string-append "v" version))))
              (file-name (git-file-name name version))
              (sha256
               (base32
                "0h6hk34x5qc8cyqlw90wnakji8w6n9bykpr3dygvfwg2kvw5rhlv"))))
    (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+)))
07-18 10:45:36 +0800'>2024-07-18gnu: qtlocation: Rename to qtlocation-5....* gnu/packages/qt.scm (qtlocation): Rename to qtlocation-5. (python-pyqt,python-pyside-2): * gnu/packages/astronomy.scm (stellarium): * gnu/packages/kde-pim.scm (itinerary): * gnu/packages/kde-utils.scm (kirogi): * gnu/packages/kde.scm (marble-qt): * gnu/packages/messaging.scm (kaidan): * gnu/packages/geo.scm (qmapshack,openorienteering-mapper): (qgis): * gnu/packages/gps.scm (gpxsee): * gnu/packages/radio.scm (sdrangel): (qdmr): Use new name. Change-Id: I51664e36bd1ce25f5add09c6d64665bf505cc551 Zheng Junjie 2024-06-26gnu: gnss-sdr: Update to 0.0.19....* gnu/packages/radio.scm (gnss-sdr): Update to 0.0.19. [inputs]: Add cpu-features, gnuplot, gnutls and volk-gnsssdr. [arguments](configure-flags): Disable test building because many tests depend on downloaded sample data set. Change-Id: I1b231896a5e481099c96667ef667c6d9e73683da Signed-off-by: Guillaume Le Vaillant <glv@posteo.net> Andy Tai 2024-06-26gnu: Add volk-gnsssdr....* gnu/packages/radio.scm (volk-gnsssdr): New variable. Change-Id: I76b92e43d21d88c319ec5bbf0e4cb8aa16fd5e2b Signed-off-by: Guillaume Le Vaillant <glv@posteo.net> Andy Tai 2024-06-26gnu: gnuradio: Update to 3.10.10.0....* gnu/packages/radio.scm (gnuradio): Update to 3.10.10.0. Change-Id: I0249f6345455054790a1b0050a4eea51d2780630 Signed-off-by: Guillaume Le Vaillant <glv@posteo.net> Andy Tai 2024-04-19gnu: nanovna-saver: Update to 0.6.3....* gnu/packages/radio.scm (nanovna-saver): Update to 0.6.3. [build-system]: Switch to pyproject-build-system. [native-inputs]: Add python-setuptools-scm. [inputs]: Replace python-pyqt by python-pyqt-6. [arguments]: Add 'set-version' phase. Change-Id: I1772dd67916c812148131e48424ca8a9948e008a Guillaume Le Vaillant 2024-04-19gnu: hamlib: Update to 4.5.5....* gnu/packages/radio.scm (hamlib): Update to 4.5.5. [source]: Switch to git-fetch method. [arguments]: Remove 'force-bootstrap' phase. Change-Id: Ia281f76ab0fd87b99c69eb56e004a3947455e539 Guillaume Le Vaillant 2024-04-19gnu: flmsg: Update to 4.0.23....* gnu/packages/radio.scm (flmsg): Update to 4.0.23. [native-inputs]: Replace autoconf by autoconf-2.71. Change-Id: Ieea1528458479af9e909b7df1b95955f2a6598eb Guillaume Le Vaillant 2024-04-19gnu: flamp: Update to 2.2.12....* gnu/packages/radio.scm (flamp): Update to 2.2.12. Change-Id: I1a88d6c2523220324c25cd8da0fb55e2442a8401 Guillaume Le Vaillant 2024-04-19gnu: flrig: Update to 2.0.04....* gnu/packages/radio.scm (flrig): Update to 2.0.04. Change-Id: Ibabf51caca450bb01b9b146ad4e6410997222edd Guillaume Le Vaillant 2024-04-19gnu: fldigi: Update to 4.2.04....* gnu/packages/radio.scm (fldigi): Update to 4.2.04. [native-inputs]: Replace autoconf by autoconf-2.71. Change-Id: Ic2844f6f6114e504877344bbd91b6ac6db93b0b0 Guillaume Le Vaillant 2024-04-19gnu: gqrx-scanner: Update to 1.0.5....* gnu/packages/radio.scm (gqrx-scanner): Update to 1.0.5. Change-Id: I68f3363f6e164aa3274eecf4c2515609565b652f Guillaume Le Vaillant 2024-04-19gnu: gqrx: Update to 2.17.5....* gnu/packages/radio.scm (gqrx): Update to 2.17.5. Change-Id: I110d6e2e170203d7503760721b13e47e88b8d827 Guillaume Le Vaillant 2024-04-18gnu: gnss-sdr: Fix build....* gnu/packages/radio.scm (gnss-sdr)[native-inputs]: Remove gfortran. [inputs]: Remove lapack. [arguments]: Add option to 'configure-flags' to use openblas instead of lapack. Change-Id: Ic54ee6543f43226c609d008f425bcc51d18f22c6 Guillaume Le Vaillant 2024-04-06gnu: qtserialport: Update to 6.6.3....* gnu/packages/qt.scm (qtserialport): Rename to ... * gnu/packages/qt.scm (qtserialport-5): ... this. * gnu/packages/qt.scm (qtserialport): New variable. * gnu/packages/engineering.scm (fritzing, candle) [inputs]: Replace qtserialport with qtserialport-5. * gnu/packages/geo.scm (qgis): Likewise. * gnu/packages/kde-utils.scm (atelier, libatcore): Likewise. * gnu/packages/qt.scm (qtserialbus, qtlocation, python-pyqt): Likewise. * gnu/packages/radio.scm (wsjtx, jtdx, js8call) (sdrangel, wfview, qdmr): Likewise. Change-Id: I8e0c8d2408ea0bf776b2efe58e23821cb653363c Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Zac Berkowitz 2024-04-03gnu: qtspeech: Rename package to qtspeech-5....* gnu/packages/qt.scm (qtspeech): Rename to qtspeech-5. (python-pyside-2) * gnu/packages/games.scm (chessx) * gnu/packages/kde-frameworks.scm (knotifications, ktextwidgets) * gnu/packages/kde-pim.scm (kdepim-runtime, kpimtextedit) * gnu/packages/kde-utils.scm (kmouth) * gnu/packages/kde.scm (okular) * gnu/packages/radio.scm (sdrangel): Adjust inputs accordingly.. Change-Id: I65ae1f4e3601f0caa8304cea6fb12f991f8e52a1 Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Zheng Junjie 2024-03-08gnu: gnuradio: Update to 3.10.8.0....* gnu/packages/radio.scm (gnuradio): Update to 3.10.8.0. Change-Id: Ibf1560b642dd7d54f06eba0288f5068d7077e7ec Reviewed-by: Juliana Sims <juli@incana.org> Signed-off-by: Guillaume Le Vaillant <glv@posteo.net> Andy Tai 2024-03-06gnu: go-go-uber-org-zap: Move to golang-xyz....* gnu/packages/golang.scm (go-go-uber-org-zap): Move from here ... * gnu/packages/golang-xyz.scm: ... to here. * gnu/packages/radio.scm: Add (gnu packages golang-xyz) module. Change-Id: Id4de6cb4714b9b28e43e5aecabf5b32684f1a370 Sharlatan Hellseher 2024-02-15gnu: Add dumpvdl2....* gnu/packages/radio.scm (dumpvdl2): New variable. Change-Id: I0d4fb449f8e01d6b8fe44d2132a6cc10e9cd41b5 Guillaume Le Vaillant 2024-02-15gnu: Add libacars....* gnu/packages/radio.scm (libacars): New variable. Change-Id: I0f849b62de2c3314f215b17d54e7414110dbe828 Guillaume Le Vaillant 2024-01-13gnu: sdrangel: Update to 7.17.3....* gnu/packages/radio.scm (sdrangel): Update to 7.17.3. Change-Id: Ib64a1cded8b7682eab97667036fbcdf38590ded2 Guillaume Le Vaillant 2024-01-13gnu: dsdcc: Update to 1.9.5....* gnu/packages/radio.scm (dsdcc): Update to 1.9.5. Change-Id: I47d787850932f5648aec267591e3102be86275ca Guillaume Le Vaillant 2024-01-13gnu: rtl-433: Update to 23.11....* gnu/packages/radio.scm (rtl-433): Update to 23.11. Change-Id: I06c5bdf4cffab5e27bbaa0621cb835c93656e6c2 Guillaume Le Vaillant 2023-12-12gnu: inspectrum: Update to 0.3.1....* gnu/packages/radio.scm (inspectrum): Update to 0.3.1. Change-Id: I51e81e328b332a32e19ab169c602875b21256c4c Guillaume Le Vaillant