blob: 810e4c0ea3e81122c4ab9906cafd532a23917bee (
plain) (
blame)
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
|
{ lib, buildPythonPackage, fetchFromGitLab, pkg-config, lxml, libvirt, nose }:
buildPythonPackage rec {
pname = "libvirt";
version = "8.4.0";
src = fetchFromGitLab {
owner = "libvirt";
repo = "libvirt-python";
rev = "v${version}";
sha256 = "sha256-hJc3jHhiZ85ys0uyN4tlNJvJGvnek49AcAp8o6NU6Qc=";
};
nativeBuildInputs = [ pkg-config ];
buildInputs = [ libvirt lxml ];
checkInputs = [ nose ];
checkPhase = ''
nosetests
'';
meta = with lib; {
homepage = "https://libvirt.org/python.html";
description = "libvirt Python bindings";
license = licenses.lgpl2;
maintainers = [ maintainers.fpletz ];
};
}
|