libvirt: 7.7.0 -> 7.8.0

This commit is contained in:
Ilan Joselevich 2021-10-12 23:05:07 +03:00
parent bd2a288ea5
commit a4d1cc9c23
3 changed files with 15 additions and 14 deletions

View File

@ -84,23 +84,24 @@ let
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "libvirt"; pname = "libvirt";
version = "7.7.0"; version = "7.8.0";
src = src =
if buildFromTarball then if buildFromTarball then
fetchurl fetchurl
{ {
url = "https://libvirt.org/sources/${pname}-${version}.tar.xz"; url = "https://libvirt.org/sources/${pname}-${version}.tar.xz";
sha256 = "1cjj48dn4ww13ayicd2g863a5kz0sc5jlbv2991bj54dq6cn0q8v"; sha256 = "sha256-pyfNCke/ok+n3ih00j86n58Czra0m6FSiPbZoJixmSE=";
} }
else else
fetchFromGitLab { fetchFromGitLab
owner = pname; {
repo = pname; owner = pname;
rev = "v${version}"; repo = pname;
sha256 = "sha256-gv/tORDlzZP3L3YcU6/YPEpqHQSLzEWa6kEX8EzZM28="; rev = "v${version}";
fetchSubmodules = true; sha256 = "sha256-/tSMJFgLPAiQXcZ2qZLM4XZqf96NtW3+zwKyrwGho2s=";
}; fetchSubmodules = true;
};
patches = [ patches = [
./0001-meson-patch-in-an-install-prefix-for-building-on-nix.patch ./0001-meson-patch-in-an-install-prefix-for-building-on-nix.patch

View File

@ -2,13 +2,13 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "libvirt"; pname = "libvirt";
version = "7.7.0"; version = "7.8.0";
src = assert version == libvirt.version; fetchFromGitLab { src = assert version == libvirt.version; fetchFromGitLab {
owner = "libvirt"; owner = "libvirt";
repo = "libvirt-python"; repo = "libvirt-python";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-KIeo4CvJS8ZPlEHmrt7BPXdgA2RplHpb0j2ha4gyUxU="; sha256 = "sha256-GuV++CFkywW0LGconyahfBGY+jjFA27Qu9JGIFt4bus=";
}; };
nativeBuildInputs = [ pkg-config ]; nativeBuildInputs = [ pkg-config ];

View File

@ -20141,12 +20141,12 @@ let
SysVirt = buildPerlModule rec { SysVirt = buildPerlModule rec {
pname = "Sys-Virt"; pname = "Sys-Virt";
version = "7.7.0"; version = "7.8.0";
src = fetchFromGitLab { src = fetchFromGitLab {
owner = "libvirt"; owner = "libvirt";
repo = "libvirt-perl"; repo = "libvirt-perl";
rev = "v7.7.0"; rev = "v7.8.0";
sha256 = "sha256-rcokZm4pKZrLlkpAZCpECCepNWm+UyXemJGklokiSzM="; sha256 = "sha256-D/sVIKMWy3WnDM97+ofG3ClgGhJJuK2a6NJLC03S4LI=";
}; };
nativeBuildInputs = [ pkgs.pkg-config ]; nativeBuildInputs = [ pkgs.pkg-config ];
buildInputs = [ pkgs.libvirt CPANChanges TestPod TestPodCoverage XMLXPath ]; buildInputs = [ pkgs.libvirt CPANChanges TestPod TestPodCoverage XMLXPath ];