depot/third_party/nixpkgs/pkgs/development/libraries/libguestfs/appliance.nix
Default email 94427deb9d Project import generated by Copybara.
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
2023-05-24 16:37:59 +03:00

31 lines
753 B
Nix

{ 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"
};
}