Files
nixpkgs/pkgs/development/php-packages/phalcon/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

43 lines
927 B
Nix

{
buildPecl,
lib,
pcre2,
fetchFromGitHub,
php,
pkg-config,
}:
buildPecl rec {
pname = "phalcon";
version = "5.9.3";
src = fetchFromGitHub {
owner = "phalcon";
repo = "cphalcon";
rev = "v${version}";
hash = "sha256-1+8+kIaKvgQCE+qvZOkYOW/RdDv4ln0njC5VzL9jvnQ=";
};
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";
nativeBuildInputs = [ pkg-config ];
buildInputs = [ pcre2 ];
sourceRoot = "${src.name}/build/phalcon";
meta = {
description = "Phalcon is a full stack PHP framework offering low resource consumption and high performance";
license = lib.licenses.bsd3;
homepage = "https://phalcon.io";
maintainers = [ lib.maintainers.krzaczek ];
teams = [ lib.teams.php ];
};
}