2018-06-24 14:52:23 +01:00
|
|
|
{ stdenv, fetchFromGitHub, buildPythonPackage, six, pyudev, pygobject3 }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "rtslib";
|
2020-04-15 18:12:16 +01:00
|
|
|
version = "2.1.72";
|
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-04-15 18:12:16 +01:00
|
|
|
sha256 = "13kycf9xkyxm1ik8yh3qpd96vird8y65daigyiyb4jvx0lmrd0kv";
|
2018-06-24 14:52:23 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ six pyudev pygobject3 ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|