guestfs-tools: add updateScript

This commit is contained in:
Martin Joerg 2024-10-22 13:51:38 +00:00
parent 5c47111328
commit ad3f44d15c

View File

@ -25,6 +25,7 @@
, pkg-config
, qemu
, xz
, gitUpdater
}:
stdenv.mkDerivation (finalAttrs: {
@ -105,6 +106,12 @@ stdenv.mkDerivation (finalAttrs: {
--prefix PERL5LIB : ${with perlPackages; makeFullPerlPath [ hivex libintl-perl libguestfs-with-appliance ]}
'';
passthru.updateScript = gitUpdater {
url = "https://github.com/libguestfs/guestfs-tools";
rev-prefix = "v";
odd-unstable = true;
};
meta = {
description = "Extra tools for accessing and modifying virtual machine disk images";
license = with lib.licenses; [ gpl2Plus lgpl21Plus ];