summary refs log tree commit diff
path: root/pkgs/development/libraries/rabbitmq-c/0.4.nix
blob: 84a7a9b4ccf7f557c3d147057e7c13e254cf56cb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ stdenv, fetchurl, cmake, openssl, popt, xmlto }:

stdenv.mkDerivation rec {
  version = "0.4.1";
  name = "rabbitmq-c-${version}";

  src = fetchurl {
    name = "${name}.tar.gz";
    url = "https://github.com/alanxz/rabbitmq-c/releases/download/v${version}/${name}.tar.gz";
    sha256 = "01m4n043hzhhxky8z67zj3r4gbg3mwcqbwqr9nms9lqbfaa70x93";
  };

  buildInputs = [ cmake openssl popt xmlto ];

  meta = {
    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;
  };
}