1 { lib, python3, fetchFromGitHub, nixosTests, wrapGAppsNoGuiHook, gobject-introspection, glib }:
3 python3.pkgs.buildPythonApplication rec {
7 src = fetchFromGitHub {
11 hash = "sha256-9QYo7jGk9iWr26j0qPQCqYsJ+vLXAsO4Xs7+7VT9/yc=";
14 nativeBuildInputs = [ wrapGAppsNoGuiHook gobject-introspection ];
15 buildInputs = [ glib ];
17 propagatedBuildInputs = with python3.pkgs; [ configshell rtslib pygobject3 ];
20 install -D targetcli.8 -t $out/share/man/man8/
21 install -D targetclid.8 -t $out/share/man/man8/
25 inherit (nixosTests) iscsi-root;
29 description = "Command shell for managing the Linux LIO kernel target";
30 homepage = "https://github.com/open-iscsi/targetcli-fb";
31 license = licenses.asl20;
33 platforms = platforms.linux;