fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
37 lines
763 B
Nix
37 lines
763 B
Nix
{
|
|
buildPecl,
|
|
lib,
|
|
pcre2,
|
|
fetchFromGitHub,
|
|
php,
|
|
pkg-config,
|
|
}:
|
|
|
|
buildPecl rec {
|
|
pname = "phalcon";
|
|
version = "5.7.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "phalcon";
|
|
repo = "cphalcon";
|
|
rev = "v${version}";
|
|
hash = "sha256-nckc7LPhXuUBJJvsqWEhH37K8fKdm9hIdkmVdiM3vcc=";
|
|
};
|
|
|
|
internalDeps = [
|
|
php.extensions.session
|
|
php.extensions.pdo
|
|
];
|
|
|
|
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 ];
|
|
};
|
|
}
|