targetcli: 2.1.56 -> 2.1.57

ajs124 b377df37 f68af858

+7 -3
+7 -3
pkgs/os-specific/linux/targetcli/default.nix
··· 1 - { lib, python3, fetchFromGitHub }: 1 + { lib, python3, fetchFromGitHub, nixosTests }: 2 2 3 3 python3.pkgs.buildPythonApplication rec { 4 4 pname = "targetcli"; 5 - version = "2.1.56"; 5 + version = "2.1.57"; 6 6 7 7 src = fetchFromGitHub { 8 8 owner = "open-iscsi"; 9 9 repo = "${pname}-fb"; 10 10 rev = "v${version}"; 11 - hash = "sha256-sWLwjfuy9WPnrGK0BxUGnNrhtGDoQyRFMY1OSlyxqs4="; 11 + hash = "sha256-7JRNHKku9zTeSafL327hkM/E5EWTKqwPudCfmngvWuo="; 12 12 }; 13 13 14 14 propagatedBuildInputs = with python3.pkgs; [ configshell rtslib ]; ··· 17 17 install -D targetcli.8 -t $out/share/man/man8/ 18 18 install -D targetclid.8 -t $out/share/man/man8/ 19 19 ''; 20 + 21 + passthru.tests = { 22 + inherit (nixosTests) iscsi-root; 23 + }; 20 24 21 25 meta = with lib; { 22 26 description = "A command shell for managing the Linux LIO kernel target";