gnu: graphviz: Add "minimal" variant.

* gnu/packages/graphviz.scm (graphviz-minimal): New variable.
This commit is contained in:
Ludovic Courtès 2023-05-20 15:52:58 +02:00
parent 689460f82a
commit d5ca1a7243
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013, 2015, 2021 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2013, 2015, 2021, 2023 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2015, 2020 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016 Theodoros Foradis <theodoros@foradis.org>
;;; Copyright © 2017, 2018, 2019, 2022 Ricardo Wurmus <rekado@elephly.net>
@ -124,6 +124,13 @@ (define-public graphviz
'((release-monitoring-url . "https://graphviz.org/download/source/")))
(license license:epl1.0)))
(define-public graphviz-minimal
(package/inherit graphviz
(name "graphviz-minimal")
(inputs (modify-inputs (package-inputs graphviz)
(delete "libxrender" "libx11" "pango" "libxaw")))
(synopsis "Graph visualization software (without X11 support)")))
(define-public python-graphviz
(package
(name "python-graphviz")