File tree Expand file tree Collapse file tree 1 file changed +15
-10
lines changed
pkgs/by-name/ra/rabbitmq-c Expand file tree Collapse file tree 1 file changed +15
-10
lines changed Original file line number Diff line number Diff line change 44 fetchFromGitHub ,
55 cmake ,
66 openssl ,
7- popt ,
8- xmlto ,
7+ testers ,
98} :
109
11- stdenv . mkDerivation rec {
10+ stdenv . mkDerivation ( finalAttrs : {
1211 pname = "rabbitmq-c" ;
1312 version = "0.15.0" ;
1413
14+ outputs = [
15+ "out"
16+ "dev"
17+ ] ;
18+
1519 src = fetchFromGitHub {
1620 owner = "alanxz" ;
1721 repo = "rabbitmq-c" ;
18- rev = "v${ version } " ;
22+ rev = "v${ finalAttrs . version } " ;
1923 hash = "sha256-uOI+YV9aV/LGlSxr75sSii5jQ005smCVe14QAGNpKY8=" ;
2024 } ;
2125
2226 nativeBuildInputs = [ cmake ] ;
23- buildInputs = [
24- openssl
25- popt
26- xmlto
27- ] ;
27+ buildInputs = [ openssl ] ;
2828
2929 meta = with lib ; {
3030 description = "RabbitMQ C AMQP client library" ;
3131 homepage = "https://github.com/alanxz/rabbitmq-c" ;
3232 license = licenses . mit ;
3333 platforms = platforms . unix ;
34+ pkgConfigModules = [ "librabbitmq" ] ;
35+ } ;
36+
37+ passthru = {
38+ tests . pkg-config = testers . testMetaPkgConfig finalAttrs . finalPackage ;
3439 } ;
35- }
40+ } )
You can’t perform that action at this time.
0 commit comments