1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00
nixpkgs/pkgs
Vincent Ambo 924016f45f dd-agent: Simplify inclusion of additional Datadog core integrations
Refactors the process used to build the Datadog core integrations to
be more easily extensible with integrations other than the ones built
and installed by default.

Documentation has been added in relevant parts of the module to
describe how the process works.

As a high-level overview:

The `datadog-integrations-core` attribute in the top-level package set
now accepts an extra parameter.

This parameter is an attribute set where each key is the name of a
Datadog integration as it appears in Datadog's integrations-core
repository[1], and the value is a function that receives the Python
package set and returns the required dependencies of this integration.

For example:

    datadog-integrations-core {
      ntp = (ps: [ ps.ntplib ]);
    };

This would build the default integrations and, additionally, the `ntp`
integration.

To support passing the modified Python environment to the
datadog-agent itself, the `python` key has been moved inside of the
derivation which means that it will be made overridable.

This relates to NixOS/nixpkgs#40399.

[1]: https://github.com/DataDog/integrations-core
2018-08-09 17:25:23 +02:00
..
applications vim_configurable: Add wrapGAppsHook for GTK 3 (#44645) 2018-08-09 11:11:24 +02:00
build-support
common-updater
data iana-etc: fixed output derivation (#44607) 2018-08-07 15:54:03 +02:00
desktops Merge pull request #44791 from r-ryantm/auto-update/deepin-gtk-theme 2018-08-09 07:29:21 +01:00
development pythonPackages.uuid: init at 1.30 2018-08-09 16:53:30 +02:00
games wesnoth: 1.14.3 -> 1.14.4 (#44671) 2018-08-09 09:20:26 +02:00
misc xlockmore: 5.55 -> 5.56 2018-08-07 23:16:42 +02:00
os-specific fwts: 18.06.02 -> 18.07.00 (#44777) 2018-08-09 09:17:17 +02:00
servers Merge pull request #44737 from r-ryantm/auto-update/nsd 2018-08-09 10:55:44 +02:00
shells antibody: 3.5.1 -> 3.6.1 (#44481) 2018-08-05 21:00:55 +02:00
stdenv
test
tools dd-agent: Simplify inclusion of additional Datadog core integrations 2018-08-09 17:25:23 +02:00
top-level dd-agent: Simplify inclusion of additional Datadog core integrations 2018-08-09 17:25:23 +02:00