1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-04 14:52:34 +03:00
nixpkgs/pkgs/development/python-modules/libvirt/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
659 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchFromGitLab, pkg-config, lxml, libvirt, nose }:
buildPythonPackage rec {
pname = "libvirt";
2022-12-02 19:09:10 +00:00
version = "8.10.0";
2022-04-27 15:00:53 +03:00
src = fetchFromGitLab {
owner = "libvirt";
repo = "libvirt-python";
2018-02-26 22:50:46 +00:00
rev = "v${version}";
2022-12-02 19:09:10 +00:00
sha256 = "sha256-f2ZWBNCgylKQCmbLCaJsIb5alvZDRZUWQAMOMsxwGbk=";
};
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 ];
};
}