mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
libvirt: 3.1.0 -> 3.5.0 (#25411)
This commit is contained in:
parent
63aa5df737
commit
17c8fe21fd
@ -12,11 +12,11 @@ with stdenv.lib;
|
||||
# if you update, also bump pythonPackages.libvirt or it will break
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libvirt-${version}";
|
||||
version = "3.1.0";
|
||||
version = "3.5.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://libvirt.org/sources/${name}.tar.xz";
|
||||
sha256 = "1a9j6yqfy7i5yv414wk6nv26a5bpfyyg0rpcps6ybi6a1yd04ybq";
|
||||
sha256 = "05mm4xdw6g960rwvc9189nhxpm1vrilnmpl4h4m1lha11pivlqr9";
|
||||
};
|
||||
|
||||
patches = [ ./build-on-bsd.patch ];
|
||||
@ -59,6 +59,7 @@ stdenv.mkDerivation rec {
|
||||
"--with-virtualport"
|
||||
"--with-init-script=systemd+redhat"
|
||||
"--with-storage-disk"
|
||||
] ++ optionals (stdenv.isLinux && zfs != null) [
|
||||
"--with-storage-zfs"
|
||||
] ++ optionals stdenv.isDarwin [
|
||||
"--with-init-script=none"
|
||||
|
@ -26839,13 +26839,13 @@ EOF
|
||||
};
|
||||
|
||||
libvirt = let
|
||||
version = "3.1.0";
|
||||
version = "3.5.0";
|
||||
in assert version == pkgs.libvirt.version; pkgs.stdenv.mkDerivation rec {
|
||||
name = "libvirt-python-${version}";
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "http://libvirt.org/sources/python/${name}.tar.gz";
|
||||
sha256 = "06524dhm27fjfnmr5bqdxlmm1g9ixvzaaq572hgyy5dqwfn64spk";
|
||||
sha256 = "06mc0cm4k90z8vxaslk3ifpajg8w8dvm0m2mxwcd6fdzps8fwpsw";
|
||||
};
|
||||
|
||||
buildInputs = with self; [ python pkgs.pkgconfig pkgs.libvirt lxml ];
|
||||
|
Loading…
Reference in New Issue
Block a user