2024-06-30 08:12:46 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
stdenvNoCC,
|
|
|
|
fetchurl,
|
2024-05-02 00:46:19 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
|
|
pname = "libguestfs-appliance";
|
|
|
|
version = "1.46.0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://download.libguestfs.org/binaries/appliance/appliance-${version}.tar.xz";
|
|
|
|
hash = "sha256-p1UN5wv3y+V5dFMG5yM3bVf1vaoDzQnVv9apfwC4gNg=";
|
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
|
|
|
|
|
|
|
mkdir -p $out
|
|
|
|
cp README.fixed initrd kernel root $out
|
|
|
|
|
|
|
|
runHook postInstall
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "VM appliance disk image used in libguestfs package";
|
|
|
|
homepage = "https://libguestfs.org";
|
2024-06-30 08:12:46 +00:00
|
|
|
license = with licenses; [
|
|
|
|
gpl2Plus
|
|
|
|
lgpl2Plus
|
|
|
|
];
|
|
|
|
platforms = [
|
|
|
|
"i686-linux"
|
|
|
|
"x86_64-linux"
|
|
|
|
];
|
2024-05-02 00:46:19 +00:00
|
|
|
hydraPlatforms = [ ]; # Hydra fails with "Output limit exceeded"
|
|
|
|
};
|
|
|
|
}
|