eudev.meta.pkgConfigModules: init

This commit is contained in:
Alyssa Ross 2024-10-10 12:23:12 +02:00
parent af2e71bd62
commit 37442e7792

View File

@ -6,6 +6,7 @@
, kmod
, pkg-config
, util-linux
, testers
}:
stdenv.mkDerivation (finalAttrs: {
@ -56,6 +57,10 @@ stdenv.mkDerivation (finalAttrs: {
"udevrulesdir=$(out)/var/lib/udev/rules.d"
];
passthru.tests = {
pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
};
meta = {
homepage = "https://github.com/eudev-project/eudev";
description = "Fork of udev with the aim of isolating it from init";
@ -80,6 +85,7 @@ stdenv.mkDerivation (finalAttrs: {
changelog = "https://github.com/eudev-project/eudev/releases/tag/${finalAttrs.src.rev}";
license = lib.licenses.gpl2Plus;
maintainers = with lib.maintainers; [ raskin AndersonTorres ];
pkgConfigModules = [ "libudev" "udev" ];
inherit (kmod.meta) platforms;
};
})