mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 00:53:12 +03:00
glib: Add meta.pkgConfigModules
and test
This commit is contained in:
parent
5df263bdc0
commit
b1aa0e9f2a
@ -19,6 +19,7 @@
|
||||
, desktop-file-utils, shared-mime-info
|
||||
, darwin
|
||||
, makeHardcodeGsettingsPatch
|
||||
, testers
|
||||
}:
|
||||
|
||||
assert stdenv.isLinux -> util-linuxMinimal != null;
|
||||
@ -280,7 +281,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
getSchemaPath = pkg: makeSchemaPath pkg pkg.name;
|
||||
getSchemaDataDirPath = pkg: makeSchemaDataDirPath pkg pkg.name;
|
||||
|
||||
tests.withChecks = finalAttrs.finalPackage.overrideAttrs (_: { doCheck = true; });
|
||||
tests = {
|
||||
withChecks = finalAttrs.finalPackage.overrideAttrs (_: { doCheck = true; });
|
||||
pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
|
||||
};
|
||||
|
||||
inherit flattenInclude;
|
||||
updateScript = gnome.updateScript {
|
||||
@ -306,6 +310,11 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
homepage = "https://wiki.gnome.org/Projects/GLib";
|
||||
license = licenses.lgpl21Plus;
|
||||
maintainers = teams.gnome.members ++ (with maintainers; [ lovek323 raskin ]);
|
||||
pkgConfigModules = [
|
||||
"gio-2.0"
|
||||
"gobject-2.0"
|
||||
"gthread-2.0"
|
||||
];
|
||||
platforms = platforms.unix;
|
||||
|
||||
longDescription = ''
|
||||
|
Loading…
Reference in New Issue
Block a user