mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 12:53:05 +00:00
pcsclite: add passthru.tests.pkg-config, meta.pkgConfigModules
This commit is contained in:
parent
a0c3d367f1
commit
36ba934348
@ -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;
|
||||
};
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user