nixpkgs/pkgs/development/python-modules/rtslib/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

36 lines
691 B
Nix

{
lib,
fetchFromGitHub,
buildPythonPackage,
six,
pyudev,
pygobject3,
}:
buildPythonPackage rec {
pname = "rtslib";
version = "2.1.76";
format = "setuptools";
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 = "Python object API for managing the Linux LIO kernel target";
mainProgram = "targetctl";
homepage = "https://github.com/open-iscsi/rtslib-fb";
license = licenses.asl20;
platforms = platforms.linux;
};
}