Commit Graph

81 Commits

Author SHA1 Message Date
Pavol Rusnak
a6ce00c50c
treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
zowoq
2ab13ca162 treewide: add final newline 2021-01-22 07:40:43 +10:00
Ben Siraphob
76f93cc731 pkgs/tools: pkgconfig -> pkg-config 2021-01-16 23:49:59 -08:00
Ben Siraphob
8c5d37129f pkgs/tools: stdenv.lib -> lib 2021-01-15 17:12:36 +07:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Florian Klink
40d2968ebf
Merge pull request #94354 from flokli/systemd-246
systemd: 245.6 -> 246
2020-08-24 12:42:24 +02:00
zowoq
a83a88db05 buildGoPackage: remove platform.all from packages 2020-08-15 19:34:47 -07:00
Florian Klink
d6f3b96a5d datadog-agent: use lib.getLib systemd instead of systemd.lib
This will pick the `lib` output if it exists, otherwise default to `out`.
2020-08-13 20:51:41 +02:00
zowoq
b5dc07a4b4 treewide: use $out instead of $bin with buildGoPackage 2020-04-28 20:30:29 +10:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Domen Kožar
2004784aa4
datadog-agent: enable secrets and allow extending tags 2019-12-23 10:43:15 +01:00
volth
7b8fb5c06c treewide: remove redundant quotes 2019-09-08 23:38:31 +00:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Casey Ransom
35d58c3421 datadog-agent: fix extraIntegrations
The override that builds the custom python for integrations-core was
overriding python, but pythonPackages was still being inherited from a
call to `datadog-integrations-core {}`, causing
service.datadog-agent.extraIntegrations to be ignored.
2019-07-01 11:45:19 -04:00
Izorkin
0ed2f0251b datadog-agent: fix sha256 sum 2019-05-30 11:48:04 +03:00
Izorkin
4125801c35 datadog-process-agent: 6.11.0 -> 6.11.1 2019-05-21 21:05:18 +03:00
Izorkin
2a93096a53 datadog-agent: 6.11.0 -> 6.11.2 2019-05-21 20:53:06 +03:00
Izorkin
eb299c0168 datadog-process-agent: 6.10.0 -> 6.11.0 2019-04-19 10:21:58 +03:00
Izorkin
f32ddcff25 datadog-agent: 6.10.1 -> 6.11.0 2019-04-19 10:09:54 +03:00
Yurii Izorkin
59ccd3a70f datadog-agent: 6.10.0 -> 6.10.1 (#57065) 2019-03-08 13:15:43 -08:00
Izorkin
a8c2705b0d datadog-agent: add old version pg8000 2019-03-02 12:57:22 +03:00
Izorkin
ce2ef06c35 datadog-process-agent: 6.5.0 -> 6.10.0 2019-03-01 10:55:07 +03:00
Izorkin
35b6943507 datadog-trace-agent: trace-agent moved to datadog-agent 2019-03-01 10:47:02 +03:00
Izorkin
19b61b98d6 datadog-agent: update sub-packages 2019-03-01 10:21:10 +03:00
Izorkin
c915e479b9 datadog-agent: update go packages 2019-03-01 10:06:19 +03:00
Yurii Izorkin
fa20f98571 datadog-agent: 6.9.0 -> 6.10.0 (#56523) 2019-02-28 11:48:49 -08:00
Domen Kožar
8441a62c3c
Merge pull request #54478 from Izorkin/datadog-agent
datadog-agent: 6.8.3 -> 6.9.0
2019-01-27 10:54:46 +07:00
Izorkin
73b317d923 datadog-agent: 6.8.3 -> 6.9.0 2019-01-22 22:15:41 +03:00
Robert Schütz
5bee7acfe4 dd-agent: override python packages inside expression 2019-01-22 12:01:51 +01:00
Izorkin
47a8b13efa datadog-agent: 6.4.2 -> 6.8.3 2019-01-08 11:16:44 +03:00
Rob Vermaas
debbed29d1 datadog-agent: add option to enable trace agent 2018-10-23 12:30:06 +02:00
Domen Kožar
943871a866
datadog-integrtaions-core: 2018-05-27 -> 2018-09-18 2018-09-18 20:22:14 +01:00
Domen Kožar
595ae18797
nixos: datadog-agent: fix systemd support 2018-09-13 09:11:55 +01:00
Domen Kožar
bef541c569 datadog: add live process monitoring 2018-09-13 09:11:06 +01:00
Domen Kožar
2c18d48c0e datadog-agent: 6.1.4 -> 6.4.2 2018-09-11 14:15:06 +02:00
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
Rodney Lorrimar
fb6679151a datadog-integrations-core: init at git-2018-05-27 2018-08-09 16:53:30 +02:00
Rodney Lorrimar
637cc2a35e datadog-agent: init at 6.1.4
DataDog have adopted a subtle naming convention:

 - dd-agent refers to the v5 Python implementation
 - datadog-agent refers to the v6 golang implementation
2018-08-09 16:53:29 +02:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Vincent Ambo
aee19ca7f8 dd-agent: fix compatibility issue with iostat (#41035)
Applies a patch to the dd-agent derivation that fixes a compatibility
issue with the current version of iostat, which no longer contains a
colon after its table headers.

This patch is applied in order for the fix to be backportable to
existing stable releases. A final "proper" fix will be an upgrade to a
newer version of dd-agent, but that requires several other changes.

This fixes #40103.
2018-05-31 22:58:04 +02:00
Matthew Bauer
3f85411ba5 dd-agent: use https for homepage 2017-08-17 14:56:10 -07:00
Mateusz Kowalczyk
dcf171bc79 Revert "dd-agent: 5.11.2 -> 5.13.2 + service rework"
This reverts commit af096c8bff.
2017-06-03 12:27:56 +01:00
Mateusz Kowalczyk
668556331b Revert "datadog: Properly use configured package."
This reverts commit 50f53da9ef.
2017-06-03 12:27:43 +01:00
Mateusz Kowalczyk
50f53da9ef datadog: Properly use configured package. 2017-06-02 08:16:47 +01:00
Mateusz Kowalczyk
af096c8bff dd-agent: 5.11.2 -> 5.13.2 + service rework 2017-06-01 15:08:50 +01:00
Frederik Rietdijk
ef4442e827 Python: replace requests2 with requests tree-wide
See f63eb58573

The `requests2` attribute now throws an error informing that `requests`
should be used instead.
2017-05-07 12:56:09 +02:00
Rob Vermaas
a9f054c834
dd-agent: Add default config files of dd-agent and auto_conf dir
to /etc/dd-agent/conf.d by default, and make sure
/etc/dd-agent/conf.d is used.

Before NixOS 17.03, we were using dd-agent 5.5.X which
used configuration from /etc/dd-agent/conf.d

In NixOS 17.03 the default conf.d location is first used relative,
meaning that $out/agent/conf.d was used without NixOS overrides.

This change implements similar functionality as PR #25288, without
breaking backwards compatibility.

(cherry picked from commit 77c85b0ecbc1070d7adff31b339bede92e4193fa)
2017-05-04 09:47:21 +00:00
Rob Vermaas
35dfdc9277
dd-agent: fix by adding uptime as dependency.
(cherry picked from commit f79be2cfa321617314aa253a8a6341a2f0ab7816)
2017-03-29 14:56:01 +00:00
Sander van der Burg
20194e2696 dd-agent: bind to pymongo 2.9.1 to fix the MongoDB monitoring 2017-03-20 10:42:43 +01:00
Susan Potter
35f9f63a39 dd-agent: 5.5.2 -> 5.11.2 2017-03-10 17:35:27 +01:00