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 {
pname = "libvirt";
version = "6.6.0";
src = assert version == libvirt.version; fetchgit {
url = "https://gitlab.com/libvirt/libvirt-python.git";
src = assert version == libvirt.version; fetchFromGitLab {
owner = "libvirt";
repo = "libvirt-python";
rev = "v${version}";
sha256 = "0jj6b2nlx7qldwbvixz74abn3p0sq4lkf6ak74vynrv5xvlycb9v";
};