php-packages: add zmq

This commit is contained in:
Vladimir Kirillov 2014-06-20 15:20:42 +03:00
parent bc75a33988
commit e3734c96df

View File

@ -48,4 +48,18 @@ let self = with self; {
sha256 = "1gcsh9iar5qa1yzpjki9bb5rivcb6yjp45lmjmp98wlyf83vmy2y";
};
};
zmq = buildPecl rec {
name = "zmq-1.1.2";
src = pkgs.fetchurl {
url = "http://pecl.php.net/get/${name}.tgz";
sha256 = "0ccz73p8pkda3y9p9qbr3m19m0yrf7k2bvqgbaly3ibgh9bazc69";
};
configureFlags = [
"--with-zmq=${pkgs.zeromq2}"
];
buildInputs = [ pkgs.pkgconfig ];
};
}; in self