depot/third_party/nixpkgs/pkgs/development/python-modules/rtslib/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

21 lines
570 B
Nix

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