Redis 2.6.9
This commit is contained in:
parent
82f3f01526
commit
5cbd865ce6
@ -1,12 +0,0 @@
|
|||||||
diff -ru redis-2.4.7/deps/hiredis/Makefile redis-2.4.7.patched/deps/hiredis/Makefile
|
|
||||||
--- redis-2.4.7/deps/hiredis/Makefile 2012-02-02 14:29:24.000000000 +0000
|
|
||||||
+++ redis-2.4.7.patched/deps/hiredis/Makefile 2012-12-07 17:14:43.000000000 +0000
|
|
||||||
@@ -20,7 +20,7 @@
|
|
||||||
CFLAGS?=-std=c99 -pedantic $(OPTIMIZATION) -fPIC -Wall -W -Wstrict-prototypes -Wwrite-strings $(ARCH) $(PROF)
|
|
||||||
CCLINK?=-lm -pthread
|
|
||||||
LDFLAGS?=-L. -Wl,-rpath,.
|
|
||||||
- OBJARCH?=-arch i386 -arch x86_64
|
|
||||||
+ #OBJARCH?=-arch i386 -arch x86_64
|
|
||||||
DYLIBNAME?=libhiredis.dylib
|
|
||||||
DYLIB_MAKE_CMD?=libtool -dynamic -o ${DYLIBNAME} -lm ${DEBUG} - ${OBJ}
|
|
||||||
STLIBNAME?=libhiredis.a
|
|
@ -1,19 +1,17 @@
|
|||||||
{ stdenv, fetchurl }:
|
{ stdenv, fetchurl, which, tcl }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "redis";
|
name = "redis-2.6.9";
|
||||||
version = "2.4.7";
|
|
||||||
name = "${pname}-${version}";
|
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://redis.googlecode.com/files/redis-2.4.7.tar.gz";
|
url = "http://redis.googlecode.com/files/${name}.tar.gz";
|
||||||
sha256 = "f91956377b7ff23cc23e0c8758e0b873032f36545c61d88436ebb741bf4dd5e1";
|
sha256 = "12bl3inq7xr2lqlqbxjxa3v9s5v7xn2pxlbm72ivxbiq43zpx5jd";
|
||||||
};
|
};
|
||||||
|
|
||||||
makeFlags = "PREFIX=$(out)";
|
makeFlags = "PREFIX=$(out)";
|
||||||
|
|
||||||
# commented out until the patch is found
|
enableParallelBuilding = true;
|
||||||
# patches = if stdenv.isDarwin then [ ./darwin.patch ] else [];
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://redis.io;
|
homepage = http://redis.io;
|
||||||
description = "An open source, advanced key-value store";
|
description = "An open source, advanced key-value store";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user