gobject-introspection: Add meta.pkgConfigModules and test

This commit is contained in:
John Ericson
2023-02-11 10:33:51 -05:00
committed by Florian Brandes
parent 5b5322b601
commit ea1aba57e5

View File

@@ -21,6 +21,7 @@
, gobject-introspection-unwrapped
, nixStoreDir ? builtins.storeDir
, x11Support ? true
, testers
}:
# now that gobject-introspection creates large .gir files (eg gtk3 case)
@@ -145,12 +146,14 @@ stdenv.mkDerivation (finalAttrs: {
packageName = "gobject-introspection";
versionPolicy = "odd-unstable";
};
tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
};
meta = with lib; {
description = "A middleware layer between C libraries and language bindings";
homepage = "https://gi.readthedocs.io/";
maintainers = teams.gnome.members ++ (with maintainers; [ lovek323 artturin ]);
pkgConfigModules = [ "gobject-introspection-1.0" ];
platforms = platforms.unix;
license = with licenses; [ gpl2 lgpl2 ];