add krb5 extension

This commit is contained in:
Robin Appelman 2025-10-25 22:09:26 +02:00
commit 052e3c8dc7
2 changed files with 31 additions and 4 deletions

20
pkgs/php-krb5.nix Normal file
View file

@ -0,0 +1,20 @@
{
php,
lib,
krb5,
pkg-config,
}:
php.buildPecl {
pname = "krb5";
version = "1.2.4";
sha256 = "sha256-jasdDGGHP4WxG+U9kI5XLqwSQ5nDg3qjETdM7LXhPJ4=";
nativeBuildInputs = [pkg-config];
buildInputs = [krb5];
meta = with lib; {
description = "PECL krb5 extension";
license = licenses.mit;
homepage = "https://github.com/php/pecl-authentication-krb5";
};
}