Merge pull request #270388 from panicgh/redis-pp

redis-plus-plus: 1.3.7 -> 1.3.10
This commit is contained in:
Fabián Heredia Montiel
2023-11-29 03:43:39 +00:00
committed by GitHub
2 changed files with 20 additions and 2 deletions
@@ -0,0 +1,14 @@
diff --git a/cmake/redis++.pc.in b/cmake/redis++.pc.in
index c98b990..46849b6 100644
--- a/cmake/redis++.pc.in
+++ b/cmake/redis++.pc.in
@@ -1,7 +1,5 @@
-prefix=@CMAKE_INSTALL_PREFIX@
-exec_prefix=${prefix}
-libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@
-includedir=${prefix}/include
+libdir=@CMAKE_INSTALL_FULL_LIBDIR@
+includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
Name: redis++
Description: This is a Redis client, based on hiredis and written in C++11. It supports scritpting, pub/sub, pipeline, transaction, Redis Cluster, Redis Sentinel, connection pool, ACL, SSL and thread safety.
@@ -8,15 +8,19 @@ assert enableShared || enableStatic;
stdenv.mkDerivation rec {
pname = "redis-plus-plus";
version = "1.3.7";
version = "1.3.10";
src = fetchFromGitHub {
owner = "sewenew";
repo = "redis-plus-plus";
rev = version;
sha256 = "sha256-QCNN85syxw2EGPdyTV3bL0txcHl7t2YhsKwK9lgnexY=";
sha256 = "sha256-lupS4WoJ4r0Vsh3sEGSuka0TtEBo2FPX2eks2blqRGk=";
};
patches = [
./0001-Fix-pkg-config-paths.patch
];
nativeBuildInputs = [ cmake ];
propagatedBuildInputs = [ hiredis ];