libvirt-glib: remove unused packages

This commit is contained in:
Izorkin 2019-08-20 20:49:10 +03:00 committed by Robin Gloster
parent 0fc011ed25
commit 066bd13613
No known key found for this signature in database
GPG Key ID: D5C458DF6DD97EDF

View File

@ -1,12 +1,8 @@
{ stdenv, fetchurl, pkgconfig, libvirt, glib, libxml2, intltool, libtool, yajl
, nettle, libgcrypt, pythonPackages, gobject-introspection, libcap_ng, numactl
, libapparmor, vala
, xenSupport ? false, xen ? null
{ stdenv, fetchurl, pkgconfig, gobject-introspection, intltool, vala
, libcap_ng, libvirt, libxml2
}:
let
inherit (pythonPackages) python pygobject2;
in stdenv.mkDerivation rec {
stdenv.mkDerivation rec {
name = "libvirt-glib-2.0.0";
outputs = [ "out" "dev" ];
@ -16,15 +12,11 @@ in stdenv.mkDerivation rec {
sha256 = "0six9ckmvlwwyavyjkgc262qkpvfqgi8rjij7cyk00bmqq8c9s4l";
};
nativeBuildInputs = [ pkgconfig vala ];
buildInputs = [
libvirt glib libxml2 intltool libtool yajl nettle libgcrypt
python pygobject2 gobject-introspection libcap_ng numactl libapparmor
] ++ stdenv.lib.optionals xenSupport [
xen
];
nativeBuildInputs = [ pkgconfig intltool vala gobject-introspection ];
buildInputs = [ libcap_ng libvirt libxml2 gobject-introspection ];
enableParallelBuilding = true;
strictDeps = true;
meta = with stdenv.lib; {
description = "Library for working with virtual machines";
@ -36,7 +28,7 @@ in stdenv.mkDerivation rec {
- libvirt-gconfig - GObjects for manipulating libvirt XML documents
- libvirt-gobject - GObjects for managing libvirt objects
'';
homepage = http://libvirt.org/;
homepage = https://libvirt.org/;
license = licenses.lgpl2Plus;
platforms = platforms.linux;
};