mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 20:53:48 +00:00
28 lines
712 B
Nix
28 lines
712 B
Nix
{ buildPecl, lib, pcre2, fetchFromGitHub, php, pkg-config }:
|
|
|
|
buildPecl rec {
|
|
pname = "phalcon";
|
|
version = "5.3.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "phalcon";
|
|
repo = "cphalcon";
|
|
rev = "v${version}";
|
|
hash = "sha256-82DJ+Qx0OYhw9Nv6FkAoyBec8WWfAiqNfBU9Ll/8RfA=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|