targetcli: fix typelib error

Add pygobject3,glib,gobject-introspection to not rely on something propagating them
This commit is contained in:
Artturin
2024-06-06 15:27:42 +03:00
parent b75575e178
commit 581b568784
+5 -2
View File
@@ -1,4 +1,4 @@
{ lib, python3, fetchFromGitHub, nixosTests }:
{ lib, python3, fetchFromGitHub, nixosTests, wrapGAppsNoGuiHook, gobject-introspection, glib }:
python3.pkgs.buildPythonApplication rec {
pname = "targetcli";
@@ -11,7 +11,10 @@ python3.pkgs.buildPythonApplication rec {
hash = "sha256-9QYo7jGk9iWr26j0qPQCqYsJ+vLXAsO4Xs7+7VT9/yc=";
};
propagatedBuildInputs = with python3.pkgs; [ configshell rtslib ];
nativeBuildInputs = [ wrapGAppsNoGuiHook gobject-introspection ];
buildInputs = [ glib ];
propagatedBuildInputs = with python3.pkgs; [ configshell rtslib pygobject3 ];
postInstall = ''
install -D targetcli.8 -t $out/share/man/man8/