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

30 lines
757 B
Nix
Raw Normal View History

2024-05-13 21:24:10 +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 {
2024-05-13 21:24:10 +00:00
url =
"http://download.libguestfs.org/binaries/appliance/appliance-${version}.tar.xz";
2024-05-02 00:46:19 +00:00
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"
};
}