blob: 18544ca09c3f2275bdfc42ccfefa84db72e025c1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
{
lib,
fetchFromGitHub,
buildPythonPackage,
# build-system
hatchling,
hatch-vcs,
# dependencies
pyudev,
}:
buildPythonPackage rec {
pname = "rtslib-fb";
version = "2.2.3";
pyproject = true;
src = fetchFromGitHub {
owner = "open-iscsi";
repo = "rtslib-fb";
tag = "v${version}";
hash = "sha256-UGRQMdOkyPZWjXoJUsXuWqstb473KR+Sf9XHbjIdfJ8=";
};
build-system = [
hatchling
hatch-vcs
];
dependencies = [
pyudev
];
# No tests
doCheck = false;
meta = {
description = "Python object API for managing the Linux LIO kernel target";
homepage = "https://github.com/open-iscsi/rtslib-fb";
changelog = "https://github.com/open-iscsi/rtslib-fb/releases/tag/${src.tag}";
license = lib.licenses.asl20;
platforms = lib.platforms.linux;
mainProgram = "targetctl";
};
}
|