From eb299c01687f879e373fd0b98cee5f6b71c6fb8a Mon Sep 17 00:00:00 2001 From: Izorkin Date: Fri, 19 Apr 2019 10:21:58 +0300 Subject: [PATCH] datadog-process-agent: 6.10.0 -> 6.11.0 --- pkgs/tools/networking/dd-agent/README.md | 9 +++++++++ .../dd-agent/datadog-process-agent-deps.nix | 14 +++++++------- .../networking/dd-agent/datadog-process-agent.nix | 4 ++-- 3 files changed, 18 insertions(+), 9 deletions(-) diff --git a/pkgs/tools/networking/dd-agent/README.md b/pkgs/tools/networking/dd-agent/README.md index f1067a2554e5..8cff23b9574c 100644 --- a/pkgs/tools/networking/dd-agent/README.md +++ b/pkgs/tools/networking/dd-agent/README.md @@ -6,3 +6,12 @@ To update datadog-agent v6 (v5 is deprecated and should be removed): 4. `nix-env -i -f https://github.com/nixcloud/dep2nix/archive/master.tar.gz` 5. `dep2nix` 6. `cp deps.nix $NIXPKGS/pkgs/tools/networking/dd-agent/datadog-agent-deps.nix` + +To update datadog-process-agent: + +1. Bump `version`, `rev` and `sha256` in `datadog-process-agent.nix` +2. `git clone https://github.com/DataDog/datadog-process-agent.git && cd datadog-process-agent` +3. `git checkout ` +4. `nix-env -i -f https://github.com/nixcloud/dep2nix/archive/master.tar.gz` +5. `dep2nix` +6. `cp deps.nix $NIXPKGS/pkgs/tools/networking/dd-agent/datadog-process-agent-deps.nix` diff --git a/pkgs/tools/networking/dd-agent/datadog-process-agent-deps.nix b/pkgs/tools/networking/dd-agent/datadog-process-agent-deps.nix index ca6b3dcee420..2a81702feee9 100644 --- a/pkgs/tools/networking/dd-agent/datadog-process-agent-deps.nix +++ b/pkgs/tools/networking/dd-agent/datadog-process-agent-deps.nix @@ -23,8 +23,8 @@ fetch = { type = "git"; url = "https://github.com/DataDog/datadog-agent"; - rev = "4aa90bd394b62b0d3e3f15703c6e459c1c477fbc"; - sha256 = "13zvg8ykakq97bw0kd2gj4s9gfjpx23d3c51w1jpa1raqwhgqi8z"; + rev = "d7712d570b91f4f97af9f155ad1c676921d8325d"; + sha256 = "1gi921z79la4hjhm8xhl4jz167200qljvhhsy4blj4vinkgfpm8w"; }; } { @@ -41,8 +41,8 @@ fetch = { type = "git"; url = "https://github.com/DataDog/gopsutil"; - rev = "c8f74f1344dd41bc49ec4d3c2377c526aaedfd20"; - sha256 = "0r8al83apxrq1v6s2mq0p8h3c4z4n5g7ax8vcvs70pq0czy2fvgp"; + rev = "233cd0cf42c26d835ed6f0e46f2103432a88b526"; + sha256 = "0rvxs1jjzv3j834dns28zr25bznarjmpgdy0z6gpimnq5nyicys5"; }; } { @@ -50,8 +50,8 @@ fetch = { type = "git"; url = "https://github.com/DataDog/viper"; - rev = "23ced3bc6b3751855704445e48da2c53075ade86"; - sha256 = "1zzf4mqpmk47p3395k2v8q6wi7lnqxr0l55vv4zk9gpqqyifbm9m"; + rev = "v1.5.0"; + sha256 = "1sv0xvmfaif7zpfwk0j6qf11hxnfdsb2zfj63b9zx7l0zzhjzh06"; }; } { @@ -666,4 +666,4 @@ sha256 = "0bcsb7s4wlmrja35zvz4s10cf3w7dfn2ckjv6apxd1ykdjxnsk71"; }; } -] +] \ No newline at end of file diff --git a/pkgs/tools/networking/dd-agent/datadog-process-agent.nix b/pkgs/tools/networking/dd-agent/datadog-process-agent.nix index b5010c28cb51..2e4ff9ab732f 100644 --- a/pkgs/tools/networking/dd-agent/datadog-process-agent.nix +++ b/pkgs/tools/networking/dd-agent/datadog-process-agent.nix @@ -2,14 +2,14 @@ buildGoPackage rec { name = "datadog-process-agent-${version}"; - version = "6.10.0"; + version = "6.11.0"; owner = "DataDog"; repo = "datadog-process-agent"; src = fetchFromGitHub { inherit owner repo; rev = "${version}"; - sha256 = "16lr1gp6n0aph8zikk5kmaib9i5b1jbndxlxfi84bd9f8lhvmkhk"; + sha256 = "1max3gp1isb30fjy55bkp9dsd8al31a968pmnr1h8wg2pycvgyif"; }; goDeps = ./datadog-process-agent-deps.nix;