core/pkgs/by-name/li/libguestfs/appliance.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
790 B
Nix
Raw Normal View History

2024-05-02 00:46:19 +00:00
{
lib,
stdenvNoCC,
fetchurl,
}:
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";
license = with licenses; [
gpl2Plus
lgpl2Plus
];
platforms = [
"i686-linux"
"x86_64-linux"
];
hydraPlatforms = [ ]; # Hydra fails with "Output limit exceeded"
};
}