pcsclite: add passthru.tests.pkg-config, meta.pkgConfigModules

This commit is contained in:
Anthony Roussel 2024-04-13 12:12:20 +02:00
parent a0c3d367f1
commit 36ba934348
No known key found for this signature in database
GPG Key ID: 9DC4987B1A55E75E

View File

@ -75,9 +75,12 @@ stdenv.mkDerivation (finalAttrs: {
++ lib.optionals polkitSupport [ dbus polkit ];
passthru = {
tests.version = testers.testVersion {
package = finalAttrs.finalPackage;
command = "pcscd --version";
tests = {
pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
version = testers.testVersion {
package = finalAttrs.finalPackage;
command = "pcscd --version";
};
};
updateScript = nix-update-script { };
};
@ -89,6 +92,7 @@ stdenv.mkDerivation (finalAttrs: {
license = licenses.bsd3;
mainProgram = "pcscd";
maintainers = [ maintainers.anthonyroussel ];
pkgConfigModules = [ "libpcsclite" ];
platforms = with platforms; unix;
};
})