rabbitmq-c: 0.4.1 -> 0.6.0

This commit is contained in:
William A. Kennington III 2015-03-11 18:49:17 -07:00
parent bd43fc7103
commit a5c221c299

View File

@ -1,21 +1,23 @@
{ stdenv, fetchurl, cmake, openssl, popt, xmlto }: { stdenv, fetchFromGitHub, cmake, openssl, popt, xmlto }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "0.4.1";
name = "rabbitmq-c-${version}"; name = "rabbitmq-c-${version}";
version = "0.6.0";
src = fetchurl { src = fetchFromGitHub {
name = "${name}.tar.gz"; owner = "alanxz";
url = "https://github.com/alanxz/rabbitmq-c/releases/download/v${version}/${name}.tar.gz"; repo = "rabbitmq-c";
sha256 = "01m4n043hzhhxky8z67zj3r4gbg3mwcqbwqr9nms9lqbfaa70x93"; rev = "v${version}";
sha256 = "00264mvwwcibd36w9a3s3cv2x7pvz88al64q2maaw1kbd9mg1ky5";
}; };
buildInputs = [ cmake openssl popt xmlto ]; buildInputs = [ cmake openssl popt xmlto ];
meta = { meta = with stdenv.lib; {
description = "RabbitMQ C AMQP client library"; description = "RabbitMQ C AMQP client library";
homepage = https://github.com/alanxz/rabbitmq-c; homepage = https://github.com/alanxz/rabbitmq-c;
license = with stdenv.lib.licenses; mit; license = licenses.mit;
platforms = with stdenv.lib.platforms; linux; platforms = platforms.linux;
maintainers = with maintainers; [ wkennington ];
}; };
} }