nixpkgs/pkgs/development/php-packages/phalcon/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

42 lines
919 B
Nix
Raw Normal View History

2023-09-08 14:36:40 +02:00
{
buildPecl,
lib,
pcre2,
fetchFromGitHub,
php,
pkg-config,
}:
buildPecl rec {
pname = "phalcon";
2025-04-04 02:34:44 +00:00
version = "5.9.2";
2023-09-08 14:36:40 +02:00
src = fetchFromGitHub {
owner = "phalcon";
repo = "cphalcon";
rev = "v${version}";
2025-04-04 02:34:44 +00:00
hash = "sha256-SuY65GZ4eys2N5jX3/cmRMF4g+tGTeeQecoZvFkOnr4=";
2023-09-08 14:36:40 +02:00
};
internalDeps = [
php.extensions.session
php.extensions.pdo
];
# Fix GCC 14 build.
# from incompatible pointer type [-Wincompatible-pointer-types]
env.NIX_CFLAGS_COMPILE = "-Wno-error=incompatible-pointer-types";
2023-09-08 14:36:40 +02: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";
2023-09-08 18:49:56 +02:00
maintainers = teams.php.members ++ [ maintainers.krzaczek ];
2023-09-08 14:36:40 +02:00
};
}