diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/libguestfs')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/libguestfs/default.nix | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/nixpkgs/pkgs/development/libraries/libguestfs/default.nix b/nixpkgs/pkgs/development/libraries/libguestfs/default.nix index 234e1164893e..b875b3579037 100644 --- a/nixpkgs/pkgs/development/libraries/libguestfs/default.nix +++ b/nixpkgs/pkgs/development/libraries/libguestfs/default.nix @@ -3,6 +3,7 @@ , acl, libcap, libcap_ng, libconfig, systemd, fuse, yajl, libvirt, hivex, db , gmp, readline, file, numactl, xen, libapparmor, jansson , getopt, perlPackages, ocamlPackages +, libtirpc , appliance ? null , javaSupport ? false, jdk ? null }: @@ -14,7 +15,7 @@ stdenv.mkDerivation rec { version = "1.40.2"; src = fetchurl { - url = "http://libguestfs.org/download/1.40-stable/${pname}-${version}.tar.gz"; + url = "https://libguestfs.org/download/1.40-stable/${pname}-${version}.tar.gz"; sha256 = "ad6562c48c38e922a314cb45a90996843d81045595c4917f66b02a6c2dfe8058"; }; @@ -24,6 +25,7 @@ stdenv.mkDerivation rec { cdrkit flex bison qemu pcre augeas libxml2 acl libcap libcap_ng libconfig systemd fuse yajl libvirt gmp readline file hivex db numactl xen libapparmor getopt perlPackages.ModuleBuild + libtirpc ] ++ (with perlPackages; [ perl libintl_perl GetoptLong SysVirt ]) ++ (with ocamlPackages; [ ocaml findlib ocamlbuild ocaml_libvirt gettext-stub ounit ]) ++ stdenv.lib.optional javaSupport jdk; @@ -86,8 +88,10 @@ stdenv.mkDerivation rec { meta = with stdenv.lib; { description = "Tools for accessing and modifying virtual machine disk images"; license = with licenses; [ gpl2 lgpl21 ]; - homepage = "http://libguestfs.org/"; + homepage = "https://libguestfs.org/"; maintainers = with maintainers; [offline]; platforms = platforms.linux; + # this is to avoid "output size exceeded" + hydraPlatforms = if appliance != null then appliance.meta.hydraPlatforms else platforms.linux; }; } |