targetcli: 2.1.58 -> 3.0.1

Diff: https://github.com/open-iscsi/targetcli-fb/compare/v2.1.58...v3.0.1

Changed files
+18 -10
pkgs
by-name
ta
targetcli
+18 -10
pkgs/by-name/ta/targetcli/package.nix
···
{
lib,
-
python3,
+
python3Packages,
fetchFromGitHub,
nixosTests,
wrapGAppsNoGuiHook,
···
glib,
}:
-
python3.pkgs.buildPythonApplication rec {
+
python3Packages.buildPythonApplication rec {
pname = "targetcli";
-
version = "2.1.58";
+
version = "3.0.1";
+
pyproject = true;
src = fetchFromGitHub {
owner = "open-iscsi";
-
repo = "${pname}-fb";
-
rev = "v${version}";
-
hash = "sha256-9QYo7jGk9iWr26j0qPQCqYsJ+vLXAsO4Xs7+7VT9/yc=";
+
repo = "targetcli-fb";
+
tag = "v${version}";
+
hash = "sha256-jRujBgUdeJY8ekVBDscitajDhYohlx/BS4wn+jFkZSg=";
};
+
build-system = with python3Packages; [
+
hatch-vcs
+
hatchling
+
];
+
nativeBuildInputs = [
wrapGAppsNoGuiHook
gobject-introspection
];
buildInputs = [ glib ];
-
propagatedBuildInputs = with python3.pkgs; [
+
dependencies = with python3Packages; [
configshell
rtslib-fb
pygobject3
···
inherit (nixosTests) iscsi-root;
};
-
meta = with lib; {
+
meta = {
description = "Command shell for managing the Linux LIO kernel target";
homepage = "https://github.com/open-iscsi/targetcli-fb";
-
license = licenses.asl20;
+
changelog = "https://github.com/open-iscsi/targetcli-fb/releases/tag/v${version}";
+
license = lib.licenses.asl20;
maintainers = [ ];
-
platforms = platforms.linux;
+
platforms = lib.platforms.linux;
+
mainProgram = "targetcli";
};
}