mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 13:23:17 +00:00
pcsclite: add passthru.tests.pkg-config, meta.pkgConfigModules
This commit is contained in:
parent
a0c3d367f1
commit
36ba934348
@ -75,10 +75,13 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
++ lib.optionals polkitSupport [ dbus polkit ];
|
++ lib.optionals polkitSupport [ dbus polkit ];
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
tests.version = testers.testVersion {
|
tests = {
|
||||||
|
pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
|
||||||
|
version = testers.testVersion {
|
||||||
package = finalAttrs.finalPackage;
|
package = finalAttrs.finalPackage;
|
||||||
command = "pcscd --version";
|
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