nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 buildPecl,
3 lib,
4 php,
5}:
6buildPecl {
7 pname = "igbinary";
8 version = "3.2.14";
9 sha256 = "sha256-YzcUek+4iAclZmdIN72pko7gbufwEUtDOLhsgWIykl0=";
10
11 configureFlags = [ "--enable-igbinary" ];
12 makeFlags = [ "phpincludedir=$(dev)/include" ];
13 outputs = [
14 "out"
15 "dev"
16 ];
17
18 meta = {
19 description = "Binary serialization for PHP";
20 homepage = "https://github.com/igbinary/igbinary/";
21 license = lib.licenses.bsd3;
22 teams = [ lib.teams.php ];
23 broken = lib.versionAtLeast php.version "8.5";
24 };
25}