python3Packages.libvirt: fetch source using fetchFromGitLab

This commit is contained in:
Bas van Dijk 2020-10-01 12:45:47 +02:00
parent 54de740a87
commit e366ad9684

View File

@ -1,11 +1,12 @@
{ stdenv, buildPythonPackage, fetchgit, pkgconfig, lxml, libvirt, nose }: { stdenv, buildPythonPackage, fetchFromGitLab, pkgconfig, lxml, libvirt, nose }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "libvirt"; pname = "libvirt";
version = "6.6.0"; version = "6.6.0";
src = assert version == libvirt.version; fetchgit { src = assert version == libvirt.version; fetchFromGitLab {
url = "https://gitlab.com/libvirt/libvirt-python.git"; owner = "libvirt";
repo = "libvirt-python";
rev = "v${version}"; rev = "v${version}";
sha256 = "0jj6b2nlx7qldwbvixz74abn3p0sq4lkf6ak74vynrv5xvlycb9v"; sha256 = "0jj6b2nlx7qldwbvixz74abn3p0sq4lkf6ak74vynrv5xvlycb9v";
}; };