Unverified Commit 97f19179 authored by Jörg Thalheim's avatar Jörg Thalheim Committed by GitHub
Browse files

rabbitmq-c: remove unused inputs, split outputs (#365805)

parents 05f85581 4bf5aed6
Loading
Loading
Loading
Loading
+15 −10
Original line number Diff line number Diff line
@@ -4,32 +4,37 @@
  fetchFromGitHub,
  cmake,
  openssl,
  popt,
  xmlto,
  testers,
}:

stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
  pname = "rabbitmq-c";
  version = "0.15.0";

  outputs = [
    "out"
    "dev"
  ];

  src = fetchFromGitHub {
    owner = "alanxz";
    repo = "rabbitmq-c";
    rev = "v${version}";
    rev = "v${finalAttrs.version}";
    hash = "sha256-uOI+YV9aV/LGlSxr75sSii5jQ005smCVe14QAGNpKY8=";
  };

  nativeBuildInputs = [ cmake ];
  buildInputs = [
    openssl
    popt
    xmlto
  ];
  buildInputs = [ openssl ];

  meta = with lib; {
    description = "RabbitMQ C AMQP client library";
    homepage = "https://github.com/alanxz/rabbitmq-c";
    license = licenses.mit;
    platforms = platforms.unix;
    pkgConfigModules = [ "librabbitmq" ];
  };

  passthru = {
    tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
  };
}
})