rabbitmq-c: 0.4.1 -> 0.6.0

+11 -9
+11 -9
pkgs/development/libraries/rabbitmq-c/default.nix
··· 1 - { stdenv, fetchurl, cmake, openssl, popt, xmlto }: 2 3 stdenv.mkDerivation rec { 4 - version = "0.4.1"; 5 name = "rabbitmq-c-${version}"; 6 7 - src = fetchurl { 8 - name = "${name}.tar.gz"; 9 - url = "https://github.com/alanxz/rabbitmq-c/releases/download/v${version}/${name}.tar.gz"; 10 - sha256 = "01m4n043hzhhxky8z67zj3r4gbg3mwcqbwqr9nms9lqbfaa70x93"; 11 }; 12 13 buildInputs = [ cmake openssl popt xmlto ]; 14 15 - meta = { 16 description = "RabbitMQ C AMQP client library"; 17 homepage = https://github.com/alanxz/rabbitmq-c; 18 - license = with stdenv.lib.licenses; mit; 19 - platforms = with stdenv.lib.platforms; linux; 20 }; 21 }
··· 1 + { stdenv, fetchFromGitHub, cmake, openssl, popt, xmlto }: 2 3 stdenv.mkDerivation rec { 4 name = "rabbitmq-c-${version}"; 5 + version = "0.6.0"; 6 7 + src = fetchFromGitHub { 8 + owner = "alanxz"; 9 + repo = "rabbitmq-c"; 10 + rev = "v${version}"; 11 + sha256 = "00264mvwwcibd36w9a3s3cv2x7pvz88al64q2maaw1kbd9mg1ky5"; 12 }; 13 14 buildInputs = [ cmake openssl popt xmlto ]; 15 16 + meta = with stdenv.lib; { 17 description = "RabbitMQ C AMQP client library"; 18 homepage = https://github.com/alanxz/rabbitmq-c; 19 + license = licenses.mit; 20 + platforms = platforms.linux; 21 + maintainers = with maintainers; [ wkennington ]; 22 }; 23 }