tracker: add meta.pkgConfigModules and tests.pkg-config

This commit is contained in:
Eldritch Cookie 2024-01-16 12:09:41 -03:00 committed by Rodney Lorrimar
parent bee5bd0106
commit 0ec43c6ebe
No known key found for this signature in database
GPG key ID: D8B75C95FB4D1143

View file

@ -28,16 +28,17 @@
, systemd
, dbus
, writeText
, testers
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "tracker";
version = "3.6.0";
outputs = [ "out" "dev" "devdoc" ];
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
url = with finalAttrs; "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
sha256 = "Ulks/hm6/9FtvkdHW+fadQ29C2Mz/XrLYPqp2lvEDfI=";
};
@ -162,7 +163,10 @@ stdenv.mkDerivation rec {
passthru = {
updateScript = gnome.updateScript {
packageName = pname;
packageName = finalAttrs.pname;
};
tests.pkg-config = testers.hasPkgConfigModules {
package = finalAttrs.finalPackage;
};
};
@ -172,5 +176,6 @@ stdenv.mkDerivation rec {
maintainers = teams.gnome.members;
license = licenses.gpl2Plus;
platforms = platforms.unix;
pkgConfigModules = [ "tracker-sparql-3.0" "tracker-testutils-3.0" ];
};
}
})