1{ lib, fetchFromGitHub, buildPythonPackage, six, pyudev, pygobject3 }:
2
3buildPythonPackage rec {
4 pname = "rtslib";
5 version = "2.1.76";
6
7 src = fetchFromGitHub {
8 owner = "open-iscsi";
9 repo = "${pname}-fb";
10 rev = "refs/tags/v${version}";
11 hash = "sha256-z9fpSVyv96ZoJaP0ch2A3bX/o/K23ooEpxa/OAhY6Z4=";
12 };
13
14 propagatedBuildInputs = [ six pyudev pygobject3 ];
15
16 meta = with lib; {
17 description = "A Python object API for managing the Linux LIO kernel target";
18 homepage = "https://github.com/open-iscsi/rtslib-fb";
19 license = licenses.asl20;
20 };
21}