mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 07:34:11 +00:00
22 lines
577 B
Nix
22 lines
577 B
Nix
{ lib, fetchFromGitHub, buildPythonPackage, six, pyudev, pygobject3 }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "rtslib";
|
|
version = "2.1.76";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "open-iscsi";
|
|
repo = "${pname}-fb";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-z9fpSVyv96ZoJaP0ch2A3bX/o/K23ooEpxa/OAhY6Z4=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|