virt-v2v: add updateScript
This commit is contained in:
parent
07c35dccde
commit
aa0a17e855
@ -24,6 +24,7 @@
|
|||||||
withWindowsGuestSupport ? true,
|
withWindowsGuestSupport ? true,
|
||||||
pkgsCross, # for rsrvany
|
pkgsCross, # for rsrvany
|
||||||
virtio-win,
|
virtio-win,
|
||||||
|
gitUpdater,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
@ -94,6 +95,12 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
|
|
||||||
passthru.tests.version = testers.testVersion { package = finalAttrs.finalPackage; };
|
passthru.tests.version = testers.testVersion { package = finalAttrs.finalPackage; };
|
||||||
|
|
||||||
|
passthru.updateScript = gitUpdater {
|
||||||
|
url = "https://github.com/libguestfs/guestfs-tools";
|
||||||
|
rev-prefix = "v";
|
||||||
|
odd-unstable = true;
|
||||||
|
};
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "https://github.com/libguestfs/virt-v2v";
|
homepage = "https://github.com/libguestfs/virt-v2v";
|
||||||
description = "Convert guests from foreign hypervisors to run on KVM";
|
description = "Convert guests from foreign hypervisors to run on KVM";
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user