|
|
|
@ -14,6 +14,13 @@ stdenv.mkDerivation rec { |
|
|
|
|
nativeBuildInputs = [ cmake ]; |
|
|
|
|
buildInputs = [ openssl popt xmlto ]; |
|
|
|
|
|
|
|
|
|
# https://github.com/alanxz/rabbitmq-c/issues/733 |
|
|
|
|
postPatch = '' |
|
|
|
|
substituteInPlace CMakeLists.txt \ |
|
|
|
|
--replace '\$'{exec_prefix}/'$'{CMAKE_INSTALL_LIBDIR} '$'{CMAKE_INSTALL_FULL_LIBDIR} \ |
|
|
|
|
--replace '\$'{prefix}/'$'{CMAKE_INSTALL_INCLUDEDIR} '$'{CMAKE_INSTALL_FULL_INCLUDEDIR} |
|
|
|
|
''; |
|
|
|
|
|
|
|
|
|
meta = with lib; { |
|
|
|
|
description = "RabbitMQ C AMQP client library"; |
|
|
|
|
homepage = "https://github.com/alanxz/rabbitmq-c"; |
|
|
|
|