depot/third_party/nixpkgs/pkgs/development/php-packages/phalcon/default.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02:00

27 lines
740 B
Nix

{ buildPecl, lib, pcre2, fetchFromGitHub, php, pkg-config }:
buildPecl rec {
pname = "phalcon";
version = "5.3.1";
src = fetchFromGitHub {
owner = "phalcon";
repo = "cphalcon";
rev = "v${version}";
hash = "sha256-FxGibpGlbNLqWDplCv4T4yUPg5US020niLfC7tHfkCU=";
};
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 ];
};
}