nixpkgs-suyu/pkgs/development/python-modules/rtslib/default.nix

22 lines
570 B
Nix
Raw Normal View History

{ lib, fetchFromGitHub, buildPythonPackage, six, pyudev, pygobject3 }:
2018-06-24 15:52:23 +02:00
buildPythonPackage rec {
pname = "rtslib";
version = "2.1.74";
2018-06-24 15:52:23 +02:00
src = fetchFromGitHub {
owner = "open-iscsi";
repo = "${pname}-fb";
2018-06-24 15:52:23 +02:00
rev = "v${version}";
sha256 = "1in10z6ckmkfhykar435k1fmswbfajysv4g9nsav893ij8g694fy";
2018-06-24 15:52:23 +02:00
};
propagatedBuildInputs = [ six pyudev pygobject3 ];
meta = with lib; {
2018-06-24 15:52:23 +02:00
description = "A Python object API for managing the Linux LIO kernel target";
homepage = "https://github.com/open-iscsi/rtslib-fb";
2018-06-24 15:52:23 +02:00
license = licenses.asl20;
};
}