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