diff --git a/pkgs/by-name/eu/eudev/package.nix b/pkgs/by-name/eu/eudev/package.nix index 7e407aa475d6..089e811ad8a5 100644 --- a/pkgs/by-name/eu/eudev/package.nix +++ b/pkgs/by-name/eu/eudev/package.nix @@ -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; }; })