summary refs log tree commit diff
path: root/pkgs/development/python-modules/rtslib/default.nix
blob: c1d27488bddfba174cd06d95e7ad3ef6752278bb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ stdenv, fetchFromGitHub, buildPythonPackage, six, pyudev, pygobject3 }:

buildPythonPackage rec {
  pname = "rtslib";
  version = "2.1.71";

  src = fetchFromGitHub {
    owner = "open-iscsi";
    repo ="${pname}-fb";
    rev = "v${version}";
    sha256 = "0cn9azi44hf59mp47207igv72kjbkyz4rsvgzmwbpz0s57b0hnab";
  };

  propagatedBuildInputs = [ six pyudev pygobject3 ];

  meta = with stdenv.lib; {
    description = "A Python object API for managing the Linux LIO kernel target";
    homepage = https://github.com/open-iscsi/rtslib-fb;
    license = licenses.asl20;
  };
}