about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDamien Cassou <damien@cassou.me>2016-07-07 13:50:02 +0200
committerDamien Cassou <damien@cassou.me>2016-07-08 17:26:16 +0200
commit0b5f4b3d443ebd3ff8d92f3728ae1f5c54c279d1 (patch)
tree0fa881154304b0f04244d7fb63b2f03c88ffc37f
parentb090d58742e41fe2394d0ab9597a29eac01930c0 (diff)
downloadnixlib-0b5f4b3d443ebd3ff8d92f3728ae1f5c54c279d1.tar
nixlib-0b5f4b3d443ebd3ff8d92f3728ae1f5c54c279d1.tar.gz
nixlib-0b5f4b3d443ebd3ff8d92f3728ae1f5c54c279d1.tar.bz2
nixlib-0b5f4b3d443ebd3ff8d92f3728ae1f5c54c279d1.tar.lz
nixlib-0b5f4b3d443ebd3ff8d92f3728ae1f5c54c279d1.tar.xz
nixlib-0b5f4b3d443ebd3ff8d92f3728ae1f5c54c279d1.tar.zst
nixlib-0b5f4b3d443ebd3ff8d92f3728ae1f5c54c279d1.zip
libpeas: build with python support
-rw-r--r--pkgs/desktops/gnome-3/3.20/core/libpeas/default.nix9
1 files changed, 4 insertions, 5 deletions
diff --git a/pkgs/desktops/gnome-3/3.20/core/libpeas/default.nix b/pkgs/desktops/gnome-3/3.20/core/libpeas/default.nix
index 8d40d977a80b..1ba143539d40 100644
--- a/pkgs/desktops/gnome-3/3.20/core/libpeas/default.nix
+++ b/pkgs/desktops/gnome-3/3.20/core/libpeas/default.nix
@@ -1,14 +1,13 @@
 { stdenv, fetchurl, pkgconfig, intltool, gnome3
-, glib, gtk3, gobjectIntrospection, python, pygobject3
+, glib, gtk3, gobjectIntrospection, python3Packages, ncurses
 }:
 
 stdenv.mkDerivation rec {
   inherit (import ./src.nix fetchurl) name src;
 
-  buildInputs =  [
-   intltool pkgconfig glib gtk3 gobjectIntrospection python pygobject3
-   gnome3.defaultIconTheme
-  ];
+  configureFlags = [ "--enable-python3" ];
+
+  buildInputs =  [ intltool pkgconfig glib gtk3 gnome3.defaultIconTheme ncurses python3Packages.python python3Packages.pygobject3 gobjectIntrospection ];
 
   meta = with stdenv.lib; {
     description = "A GObject-based plugins engine";