summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-05-29 23:17:02 +0200
committerRicardo Wurmus <rekado@elephly.net>2018-05-29 23:17:48 +0200
commit1b043aeb856b23f74f43b7bff3cf52bc630e1e84 (patch)
treeac89db7fec6db7684d6c47a4b63d021ee0b662ab
parent59f6dfe55290b417a4a0a2a44e31ccbec19f53d8 (diff)
downloadguix-1b043aeb856b23f74f43b7bff3cf52bc630e1e84.tar.gz
gnu: python2-pygobject: Add native-inputs.
* gnu/packages/glib.scm (python2-pygobject)[native-inputs]: New field.
-rw-r--r--gnu/packages/glib.scm13
1 files changed, 12 insertions, 1 deletions
diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm
index e96b8df24e..958a8218a0 100644
--- a/gnu/packages/glib.scm
+++ b/gnu/packages/glib.scm
@@ -643,7 +643,18 @@ useful for C++.")
     (inputs
      `(("python" ,python-2)
        ("python-pycairo" ,python2-pycairo)
-       ("gobject-introspection" ,gobject-introspection)))))
+       ("gobject-introspection" ,gobject-introspection)))
+    (native-inputs
+     `(;; Use gcc-7 to work around an internal compiler error that happens
+       ;; when using gcc-5.5.0.  FIXME: Try removing this when the default
+       ;; compiler is no longer gcc-5.5.0.
+       ("gcc" ,gcc-7)
+       ("which" ,which)
+       ;for tests: dbus-run-session and glib-compile-schemas
+       ("dbus" ,dbus)
+       ("glib-bin" ,glib "bin")
+       ("pkg-config" ,pkg-config)
+       ("python-pytest" ,python2-pytest)))))
 
 (define-public perl-glib
   (package