guestfs-tools: 1.52.0 -> 1.52.2 (#350431)

authored by Sandro and committed by GitHub dfe2827b ae0af1d2

+16 -10
+16 -10
pkgs/tools/virtualization/guestfs-tools/default.nix
··· 25 25 , pkg-config 26 26 , qemu 27 27 , xz 28 + , gitUpdater 28 29 }: 29 30 30 - stdenv.mkDerivation rec { 31 + stdenv.mkDerivation (finalAttrs: { 31 32 pname = "guestfs-tools"; 32 - version = "1.52.0"; 33 + version = "1.52.2"; 33 34 34 35 src = fetchurl { 35 - url = "https://download.libguestfs.org/guestfs-tools/${lib.versions.majorMinor version}-stable/guestfs-tools-${version}.tar.gz"; 36 - sha256 = "sha256-Iv0TIpcEX5CmdAbw/w7uDyoBBqXxyNz8XDlqYl/3g3Y="; 36 + url = "https://download.libguestfs.org/guestfs-tools/${lib.versions.majorMinor finalAttrs.version}-stable/guestfs-tools-${finalAttrs.version}.tar.gz"; 37 + hash = "sha256-02khDS2NLG1QOSqswtDoqBX2Mg6sE/OiUoP9JFs4vTU="; 37 38 }; 38 39 39 40 nativeBuildInputs = [ ··· 55 56 ]) ++ 56 57 (with ocamlPackages; [ 57 58 findlib 58 - gettext-stub 59 59 ocaml 60 - ocaml_gettext 61 60 ounit2 62 61 ]); 63 62 ··· 107 106 --prefix PERL5LIB : ${with perlPackages; makeFullPerlPath [ hivex libintl-perl libguestfs-with-appliance ]} 108 107 ''; 109 108 110 - meta = with lib; { 109 + passthru.updateScript = gitUpdater { 110 + url = "https://github.com/libguestfs/guestfs-tools"; 111 + rev-prefix = "v"; 112 + odd-unstable = true; 113 + }; 114 + 115 + meta = { 111 116 description = "Extra tools for accessing and modifying virtual machine disk images"; 112 - license = with licenses; [ gpl2Plus lgpl21Plus ]; 117 + license = with lib.licenses; [ gpl2Plus lgpl21Plus ]; 113 118 homepage = "https://libguestfs.org/"; 119 + changelog = "https://www.libguestfs.org/guestfs-tools-release-notes-${lib.versions.majorMinor finalAttrs.version}.1.html"; 114 120 maintainers = [ ]; 115 - platforms = platforms.linux; 121 + platforms = lib.platforms.linux; 116 122 }; 117 - } 123 + })