2023-07-15 17:15:38 +00:00
|
|
|
{ lib, fetchFromGitHub, buildPythonPackage, six, pyudev, pygobject3 }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "rtslib";
|
2023-07-15 17:15:38 +00:00
|
|
|
version = "2.1.76";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "open-iscsi";
|
|
|
|
repo = "${pname}-fb";
|
2022-08-12 12:06:08 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
2023-07-15 17:15:38 +00:00
|
|
|
hash = "sha256-z9fpSVyv96ZoJaP0ch2A3bX/o/K23ooEpxa/OAhY6Z4=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ six pyudev pygobject3 ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "A Python object API for managing the Linux LIO kernel target";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "targetctl";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/open-iscsi/rtslib-fb";
|
|
|
|
license = licenses.asl20;
|
|
|
|
};
|
|
|
|
}
|