2024-05-15 15:35:15 +00:00
|
|
|
{
|
|
|
|
buildPecl,
|
|
|
|
lib,
|
|
|
|
pcre2,
|
|
|
|
fetchFromGitHub,
|
|
|
|
php,
|
|
|
|
pkg-config,
|
|
|
|
}:
|
2023-10-09 19:29:22 +00:00
|
|
|
|
|
|
|
buildPecl rec {
|
|
|
|
pname = "phalcon";
|
2024-06-05 15:53:02 +00:00
|
|
|
version = "5.7.0";
|
2023-10-09 19:29:22 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "phalcon";
|
|
|
|
repo = "cphalcon";
|
|
|
|
rev = "v${version}";
|
2024-06-05 15:53:02 +00:00
|
|
|
hash = "sha256-nckc7LPhXuUBJJvsqWEhH37K8fKdm9hIdkmVdiM3vcc=";
|
2023-10-09 19:29:22 +00:00
|
|
|
};
|
|
|
|
|
2024-05-15 15:35:15 +00:00
|
|
|
internalDeps = [
|
|
|
|
php.extensions.session
|
|
|
|
php.extensions.pdo
|
|
|
|
];
|
2023-10-09 19:29:22 +00:00
|
|
|
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
buildInputs = [ pcre2 ];
|
|
|
|
|
|
|
|
sourceRoot = "${src.name}/build/phalcon";
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Phalcon is a full stack PHP framework offering low resource consumption and high performance.";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
homepage = "https://phalcon.io";
|
|
|
|
maintainers = teams.php.members ++ [ maintainers.krzaczek ];
|
|
|
|
};
|
|
|
|
}
|