pdf-quench: fix "Namespace Gtk not available"

pdf-quench previously failed at runtime with "ValueError: Namespace Gtk
not available". This moves `gobject-introspection` to nativeBuildInputs,
which fixes the error.
This commit is contained in:
Nicole Prindle 2022-12-14 11:19:44 -05:00
parent 69ce4fbad8
commit ee958a33f2
No known key found for this signature in database
GPG key ID: 56E908E54EC7B88E

View file

@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, pkgs, python3, wrapGAppsHook}:
{ lib, fetchFromGitHub, pkgs, python3, wrapGAppsHook, gobject-introspection }:
python3.pkgs.buildPythonApplication {
pname = "pdf-quench";
@ -11,10 +11,9 @@ python3.pkgs.buildPythonApplication {
sha256 = "1rp9rlwr6rarcsxygv5x2c5psgwl6r69k0lsgribgyyla9cf2m7n";
};
nativeBuildInputs = [ wrapGAppsHook ];
nativeBuildInputs = [ wrapGAppsHook gobject-introspection ];
buildInputs = with pkgs; [
gtk3
gobject-introspection
goocanvas2
poppler_gi
];