piper: fix gi dependencies

Currently fails with "ValueError: Namespace Gtk not available"
This commit is contained in:
Gabriel Ebner 2018-10-11 10:26:33 +02:00
parent 3dec3de2d3
commit a814322eda

View File

@ -1,5 +1,6 @@
{ stdenv, meson, ninja, pkgconfig, gettext, fetchFromGitHub, python3
, wrapGAppsHook, gtk3, glib, desktop-file-utils, appstream-glib, gnome3 }:
, wrapGAppsHook, gtk3, glib, desktop-file-utils, appstream-glib, gnome3
, gobjectIntrospection }:
python3.pkgs.buildPythonApplication rec {
pname = "piper-${version}";
@ -14,7 +15,7 @@ python3.pkgs.buildPythonApplication rec {
sha256 = "1ny0vf8ym9v040cb5h084k5wwn929fnhq9infbdq8f8vvy61magb";
};
nativeBuildInputs = [ meson ninja gettext pkgconfig wrapGAppsHook desktop-file-utils appstream-glib ];
nativeBuildInputs = [ meson ninja gettext pkgconfig wrapGAppsHook desktop-file-utils appstream-glib gobjectIntrospection ];
buildInputs = [ gtk3 glib gnome3.defaultIconTheme python3 ];
propagatedBuildInputs = with python3.pkgs; [ lxml evdev pygobject3 ];