libvirt: 3.10.0 -> 4.1.0

This commit is contained in:
volth
2018-02-26 22:50:46 +00:00
parent 62bcd3b02e
commit 632e9e62c8
8 changed files with 62 additions and 114 deletions

View File

@@ -1,12 +1,13 @@
{ stdenv, buildPythonPackage, fetchurl, python, pkgconfig, lxml, libvirt, nose }:
{ stdenv, buildPythonPackage, fetchgit, python, pkgconfig, lxml, libvirt, nose }:
buildPythonPackage rec {
pname = "libvirt";
version = "3.10.0";
version = "4.1.0";
src = assert version == libvirt.version; fetchurl {
url = "http://libvirt.org/sources/python/${pname}-python-${version}.tar.gz";
sha256 = "1l0fgqjnx76pzkhq540x9sf5fgzlrn0dpay90j2m4iq8nkclcbpw";
src = assert version == libvirt.version; fetchgit {
url = git://libvirt.org/libvirt-python.git;
rev = "v${version}";
sha256 = "0z87y6qr0ypdxfanphxl7yanisd7a0b0bwhg97kii68mig5dlw9r";
};
nativeBuildInputs = [ pkgconfig ];