Unverified Commit a456465e authored by Anthony Roussel's avatar Anthony Roussel
Browse files

yubico-piv-tool: add meta.pkgConfigModules, passthru.tests.pkg-config

parent b211b392
Loading
Loading
Loading
Loading
+7 −3
Original line number Diff line number Diff line
@@ -60,11 +60,14 @@ stdenv.mkDerivation (finalAttrs: {
    updateScript = nix-update-script {
      extraArgs = [ "--version-regex" "yubico-piv-tool-([0-9.]+)$" ];
    };
    tests.version = testers.testVersion {
    tests = {
      pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
      version = testers.testVersion {
        package = finalAttrs.finalPackage;
        command = "yubico-piv-tool --version";
      };
    };
  };

  meta = with lib; {
    homepage = "https://developers.yubico.com/yubico-piv-tool/";
@@ -84,5 +87,6 @@ stdenv.mkDerivation (finalAttrs: {
    platforms = platforms.all;
    maintainers = with maintainers; [ viraptor anthonyroussel ];
    mainProgram = "yubico-piv-tool";
    pkgConfigModules = [ "ykcs11" "ykpiv" ];
  };
})