php_excel: init at 1.0.2
commit2191b4dd3949cf0528ce2f4dfd689797aa7aa104
authorMarkus Mueller <john.subscriber@markus.institute>
dateSun 19 Nov 2017, 01:02 (9 years ago)
parent8d499c2
pkgs/top-level/php-packages.nix+15
@@ -73,6 +73,21 @@ let
7373 ];
7474 };
7575
76+ php_excel = assert isPhp7; buildPecl rec {
77+ name = "php_excel";
78+ version = "1.0.2";
79+ phpVersion = "php7";
80+
81+ buildInputs = [ pkgs.libxl ];
82+
83+ src = pkgs.fetchurl {
84+ url = "https://github.com/iliaal/${name}/releases/download/Excel-1.0.2-PHP7/excel-${version}-${phpVersion}.tgz";
85+ sha256 = "0dpvih9gpiyh1ml22zi7hi6kslkilzby00z1p8x248idylldzs2n";
86+ };
87+
88+ configureFlags = [ "--with-excel" "--with-libxl-incdir=${pkgs.libxl}/include_c" "--with-libxl-libdir=${pkgs.libxl}/lib" ];
89+ };
90+
7691 igbinary = buildPecl {
7792 name = "igbinary-2.0.4";
7893