depot/third_party/nixpkgs/pkgs/development/python-modules/rtslib/default.nix
Default email 02cf88bb76 Project import generated by Copybara.
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
2022-08-12 15:06:08 +03:00

21 lines
579 B
Nix

{ lib, fetchFromGitHub, buildPythonPackage, six, pyudev, pygobject3 }:
buildPythonPackage rec {
pname = "rtslib";
version = "2.1.75";
src = fetchFromGitHub {
owner = "open-iscsi";
repo = "${pname}-fb";
rev = "refs/tags/v${version}";
sha256 = "sha256-qBlr4K+LeJIC6Hwy6dN9n/VjHIUYCy8pLlRtPvooWyE=";
};
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;
};
}