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