python3Packages.libvirt: fetch source using fetchFromGitLab
This commit is contained in:
parent
54de740a87
commit
e366ad9684
@ -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";
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user