2021-01-25 08:26:54 +00:00
|
|
|
{ lib, fetchFromGitHub, buildPythonPackage, six, pyudev, pygobject3 }:
|
2018-06-24 14:52:23 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "rtslib";
|
2020-11-09 23:15:30 +00:00
|
|
|
version = "2.1.74";
|
2018-06-24 14:52:23 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "open-iscsi";
|
2020-04-15 18:12:16 +01:00
|
|
|
repo = "${pname}-fb";
|
2018-06-24 14:52:23 +01:00
|
|
|
rev = "v${version}";
|
2020-11-09 23:15:30 +00:00
|
|
|
sha256 = "1in10z6ckmkfhykar435k1fmswbfajysv4g9nsav893ij8g694fy";
|
2018-06-24 14:52:23 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ six pyudev pygobject3 ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2018-06-24 14:52:23 +01:00
|
|
|
description = "A Python object API for managing the Linux LIO kernel target";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/open-iscsi/rtslib-fb";
|
2018-06-24 14:52:23 +01:00
|
|
|
license = licenses.asl20;
|
|
|
|
};
|
|
|
|
}
|