Add tunnelbroker's amqp-cpp dependency.
This isn't currently available in nixpkgs, so we need to package it locally.
Depends on D3784
Differential D3793 Authored by • jon on Apr 20 2022, 2:12 PM.
Tags None Referenced Files
Details
Summary Add tunnelbroker's amqp-cpp dependency. This isn't currently available in nixpkgs, so we need to package it locally. Depends on D3784 Test Plan nix build .#amqp-cpp
Diff Detail
Event TimelineHerald added subscribers: • abosh, • benschac, • karol and 4 others. · View Herald TranscriptApr 20 2022, 2:12 PM2022-04-20 14:12:25 (UTC-7) Harbormaster returned this revision to the author for changes because remote builds failed.Apr 20 2022, 2:13 PM2022-04-20 14:13:51 (UTC-7) Harbormaster completed remote builds in B8365: Diff 11677.Apr 20 2022, 2:21 PM2022-04-20 14:21:55 (UTC-7) Harbormaster completed remote builds in B8367: Diff 11679.Apr 20 2022, 2:29 PM2022-04-20 14:29:24 (UTC-7) Harbormaster completed remote builds in B8614: Diff 11998.Apr 27 2022, 10:14 AM2022-04-27 10:14:22 (UTC-7) Comment Actions Adding @geekbrother because AMQP pertains to Tunnelbroker, and adding @jimpo because there's some CMake stuff here • jon added a child revision: D3865: Add protobuf with corrected cmake build.Apr 27 2022, 2:33 PM2022-04-27 14:33:26 (UTC-7) Comment Actions I think the package is available as libamqpcpp in nix packages. I'm not sure it's built with the -DAMQP-CPP_LINUX_TCP=ON. This revision now requires changes to proceed.May 2 2022, 4:10 AM2022-05-02 04:10:24 (UTC-7) Comment Actions @geekbrother you're right, but it looks like it just uses the exported makeFile to build the project https://github.com/NixOS/nixpkgs/blob/634141959076a8ab69ca2cca0f266852256d79ee/pkgs/development/libraries/libamqpcpp/default.nix The implications is that it doesn't export a cmake/amqpcppConfig.cmake Comment Actions @jonringer-comm make sure to hit "Re-request review" in the dropdown at the bottom of the page, to make sure this diff goes back to @geekbrother's queue and he sees your response! Comment Actions
That seems like a solution here. Thank you for the clarification @jonringer-comm ! This revision is now accepted and ready to land.May 5 2022, 10:58 AM2022-05-05 10:58:54 (UTC-7) Closed by commit rCOMM9122b99941b2: Add amqp-cpp (authored by • jon). · Explain WhyMay 6 2022, 2:15 AM2022-05-06 02:15:58 (UTC-7) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 11679 nix/amqp-cpp.nix
nix/overlay.nix
|
What's the || null for? Typically ?? null is preferred is you really want to coerce to null, but I'm not clear on why you want to do that