2021-02-05 17:12:51 +00:00
|
|
|
{ lib, fetchFromGitHub, buildPythonPackage, six, pyudev, pygobject3 }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "rtslib";
|
2020-11-12 09:05:59 +00:00
|
|
|
version = "2.1.74";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "open-iscsi";
|
|
|
|
repo = "${pname}-fb";
|
|
|
|
rev = "v${version}";
|
2020-11-12 09:05:59 +00:00
|
|
|
sha256 = "1in10z6ckmkfhykar435k1fmswbfajysv4g9nsav893ij8g694fy";
|
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";
|
|
|
|
homepage = "https://github.com/open-iscsi/rtslib-fb";
|
|
|
|
license = licenses.asl20;
|
|
|
|
};
|
|
|
|
}
|