targetcli: 2.1.58 -> 3.0.1

Diff: https://github.com/open-iscsi/targetcli-fb/compare/v2.1.58...v3.0.1
This commit is contained in:
Gaetan Lepage
2025-03-15 12:16:57 +01:00
parent 68c06a055a
commit 32c6c9048e
+18 -10
View File
@@ -1,6 +1,6 @@
{
lib,
python3,
python3Packages,
fetchFromGitHub,
nixosTests,
wrapGAppsNoGuiHook,
@@ -8,24 +8,30 @@
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
@@ -40,11 +46,13 @@ python3.pkgs.buildPythonApplication rec {
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";
};
}