phpPackages.redis: rev 4a37e4 -> 3.1.4

This commit is contained in:
John Boehr 2017-11-02 13:49:34 -07:00
parent e080b87b26
commit 994cff67e3
No known key found for this signature in database
GPG Key ID: 73B8EFB60708F699

View File

@ -269,22 +269,16 @@ let
buildInputs = [ pkgs.geoip ]; buildInputs = [ pkgs.geoip ];
}; };
redis = if isPhp7 then redisPhp7 else redis22; redis = if isPhp7 then redis31 else redis22;
redis22 = assert !isPhp7; buildPecl { redis22 = assert !isPhp7; buildPecl {
name = "redis-2.2.7"; name = "redis-2.2.7";
sha256 = "00n9dpk9ak0bl35sbcd3msr78sijrxdlb727nhg7f2g7swf37rcm"; sha256 = "00n9dpk9ak0bl35sbcd3msr78sijrxdlb727nhg7f2g7swf37rcm";
}; };
# Not released yet redis31 = assert isPhp7; buildPecl {
redisPhp7 = assert isPhp7; buildPecl rec { name = "redis-3.1.4";
name = "redis-php7"; sha256 = "0rgjdrqfif8pfn3ipk1v4gyjkkdcdrdk479qbpda89w25vaxzsxd";
src = fetchgit {
url = "https://github.com/phpredis/phpredis";
rev = "4a37e47d0256581ce2f7a3b15b5bb932add09f36";
sha256 = "1qm2ifa0zf95l1g967iiabmja17srpwz73lfci7z13ffdw1ayhfd";
};
}; };
v8 = assert isPhp7; buildPecl rec { v8 = assert isPhp7; buildPecl rec {