mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 21:03:15 +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 ];
|
++ lib.optionals polkitSupport [ dbus polkit ];
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
tests.version = testers.testVersion {
|
tests = {
|
||||||
package = finalAttrs.finalPackage;
|
pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
|
||||||
command = "pcscd --version";
|
version = testers.testVersion {
|
||||||
|
package = finalAttrs.finalPackage;
|
||||||
|
command = "pcscd --version";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
updateScript = nix-update-script { };
|
updateScript = nix-update-script { };
|
||||||
};
|
};
|
||||||
@ -89,6 +92,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
mainProgram = "pcscd";
|
mainProgram = "pcscd";
|
||||||
maintainers = [ maintainers.anthonyroussel ];
|
maintainers = [ maintainers.anthonyroussel ];
|
||||||
|
pkgConfigModules = [ "libpcsclite" ];
|
||||||
platforms = with platforms; unix;
|
platforms = with platforms; unix;
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user