biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / libvirt / default.nix
blob6dbb2c86711254cf0c9785149b79e54bd9792f3a
2   lib,
3   buildPythonPackage,
4   fetchFromGitLab,
5   setuptools,
6   pkg-config,
7   lxml,
8   libvirt,
9   pytestCheckHook,
12 buildPythonPackage rec {
13   pname = "libvirt";
14   version = "10.5.0";
15   pyproject = true;
17   src = fetchFromGitLab {
18     owner = "libvirt";
19     repo = "libvirt-python";
20     rev = "v${version}";
21     hash = "sha256-dPjT9PRoUzNrY79yejAW/sbkMr0fpLif7IKZIW/K3KI=";
22   };
24   build-system = [ setuptools ];
26   nativeBuildInputs = [ pkg-config ];
27   buildInputs = [
28     libvirt
29     lxml
30   ];
32   pythonImportsCheck = [ "libvirt" ];
34   nativeCheckInputs = [ pytestCheckHook ];
36   meta = with lib; {
37     homepage = "https://libvirt.org/python.html";
38     description = "libvirt Python bindings";
39     license = licenses.lgpl2;
40     maintainers = [ maintainers.fpletz ];
41   };