libvirt: fetch sources from gitlab

That seems to be the official repository now.
This commit is contained in:
Bas van Dijk 2020-10-01 10:55:56 +02:00
parent 3acb90e7dd
commit af8409fc0a
2 changed files with 3 additions and 3 deletions

View File

@ -27,7 +27,7 @@ in stdenv.mkDerivation rec {
} }
else else
fetchgit { fetchgit {
url = "https://libvirt.org/git/libvirt.git"; url = "https://gitlab.com/libvirt/libvirt.git";
rev = "v${version}"; rev = "v${version}";
sha256 = "09hsbm2qmx0jfmm418rf5lx374g85bwgg0kzlga62x5180jhsssn"; sha256 = "09hsbm2qmx0jfmm418rf5lx374g85bwgg0kzlga62x5180jhsssn";
fetchSubmodules = true; fetchSubmodules = true;

View File

@ -5,7 +5,7 @@ buildPythonPackage rec {
version = "6.6.0"; version = "6.6.0";
src = assert version == libvirt.version; fetchgit { src = assert version == libvirt.version; fetchgit {
url = "git://libvirt.org/libvirt-python.git"; url = "https://gitlab.com/libvirt/libvirt-python.git";
rev = "v${version}"; rev = "v${version}";
sha256 = "0jj6b2nlx7qldwbvixz74abn3p0sq4lkf6ak74vynrv5xvlycb9v"; sha256 = "0jj6b2nlx7qldwbvixz74abn3p0sq4lkf6ak74vynrv5xvlycb9v";
}; };
@ -19,7 +19,7 @@ buildPythonPackage rec {
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {
homepage = "http://www.libvirt.org/"; homepage = "https://libvirt.org/python.html";
description = "libvirt Python bindings"; description = "libvirt Python bindings";
license = licenses.lgpl2; license = licenses.lgpl2;
maintainers = [ maintainers.fpletz ]; maintainers = [ maintainers.fpletz ];