guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#43590] [WIP master] gnu: Add gobject-introspection+doctool.


From: Danny Milosavljevic
Subject: [bug#43590] [WIP master] gnu: Add gobject-introspection+doctool.
Date: Thu, 24 Sep 2020 15:45:29 +0200

* gnu/packages/glib.scm (gobject-introspection+doctool): New variable.
---
 gnu/packages/glib.scm | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm
index ca037d3b24..0aa8c837cd 100644
--- a/gnu/packages/glib.scm
+++ b/gnu/packages/glib.scm
@@ -75,6 +75,7 @@
   #:export (dbus
             glib
             gobject-introspection
+            gobject-introspection+doctool
             dbus-glib
             intltool
             itstool
@@ -466,6 +467,19 @@ bindings to call into the C library.")
     ; Some bits are distributed under the LGPL2+, others under the GPL2+
     (license license:gpl2+)))
 
+(define gobject-introspection+doctool
+  (package
+    (inherit gobject-introspection)
+    (name "gobject-introspection+doctool")
+    (native-inputs
+     `(("python-mako" ,python-mako)
+       ("python-markdown" ,python-markdown)
+       ,@(package-native-inputs gobject-introspection)))
+    (arguments
+     (substitute-keyword-arguments (package-arguments gobject-introspection)
+      ((#:configure-flags flags ''())
+      `(cons* "-Ddoctool=true" ,flags))))))
+
 (define intltool
   (package
     (name "intltool")





reply via email to

[Prev in Thread] Current Thread [Next in Thread]