Subject: [bug#63610] [PATCH 1/3] gnu: graphviz: Add "minimal" variant.

From: Ludovic Courtès <[email-masked]>
Date: Sat, 20 May 2023 18:11:23 +0200

* gnu/packages/graphviz.scm (graphviz-minimal): New variable.
---
 gnu/packages/graphviz.scm | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/graphviz.scm b/gnu/packages/graphviz.scm
index 26ee96afd4..30dd6d3405 100644
--- a/gnu/packages/graphviz.scm
+++ b/gnu/packages/graphviz.scm
@@ -1,5 +1,5 @@
 ;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2013, 2015, 2021 Ludovic Courtès <[email-masked]>
+;;; Copyright © 2013, 2015, 2021, 2023 Ludovic Courtès <[email-masked]>
 ;;; Copyright © 2015, 2020 Efraim Flashner <[email-masked]>
 ;;; Copyright © 2016 Theodoros Foradis <[email-masked]>
 ;;; Copyright © 2017, 2018, 2019, 2022 Ricardo Wurmus <[email-masked]>
@@ -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")
-- 
2.40.1