9bb3fccb5b
continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi.
36 lines
1.1 KiB
Nix
36 lines
1.1 KiB
Nix
{ stdenv, fetchurl, pkg-config, gobject-introspection, intltool, vala
|
|
, libcap_ng, libvirt, libxml2
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libvirt-glib-3.0.0";
|
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
src = fetchurl {
|
|
url = "https://libvirt.org/sources/glib/${name}.tar.gz";
|
|
sha256 = "1zpbv4ninc57c9rw4zmmkvvqn7154iv1qfr20kyxn8xplalqrzvz";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config 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";
|
|
longDescription = ''
|
|
libvirt-glib wraps libvirt to provide a high-level object-oriented API better
|
|
suited for glib-based applications, via three libraries:
|
|
|
|
- libvirt-glib - GLib main loop integration & misc helper APIs
|
|
- libvirt-gconfig - GObjects for manipulating libvirt XML documents
|
|
- libvirt-gobject - GObjects for managing libvirt objects
|
|
'';
|
|
homepage = "https://libvirt.org/";
|
|
license = licenses.lgpl2Plus;
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|