diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2020-09-03 20:55:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-03 20:55:49 +0100 |
commit | 3a6cea9ea63fe65a27b492a74bc950b054f3b46b (patch) | |
tree | 35b8bece57f682302addc7a62d352cf6c1b110a1 /pkgs/tools/system | |
parent | 6b043b105e72c0ac928a0dc5483b07bead737e48 (diff) | |
parent | 67d6ea03c9bb775039fbc4e8ee02851bfa456628 (diff) | |
download | nixpkgs-3a6cea9ea63fe65a27b492a74bc950b054f3b46b.tar nixpkgs-3a6cea9ea63fe65a27b492a74bc950b054f3b46b.tar.gz nixpkgs-3a6cea9ea63fe65a27b492a74bc950b054f3b46b.tar.bz2 nixpkgs-3a6cea9ea63fe65a27b492a74bc950b054f3b46b.tar.lz nixpkgs-3a6cea9ea63fe65a27b492a74bc950b054f3b46b.tar.xz nixpkgs-3a6cea9ea63fe65a27b492a74bc950b054f3b46b.tar.zst nixpkgs-3a6cea9ea63fe65a27b492a74bc950b054f3b46b.zip |
Merge pull request #96523 from Izorkin/netdata
Diffstat (limited to 'pkgs/tools/system')
-rw-r--r-- | pkgs/tools/system/netdata/default.nix | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/pkgs/tools/system/netdata/default.nix b/pkgs/tools/system/netdata/default.nix index e5316e028db..752721689ba 100644 --- a/pkgs/tools/system/netdata/default.nix +++ b/pkgs/tools/system/netdata/default.nix @@ -1,6 +1,7 @@ { stdenv, callPackage, fetchFromGitHub, autoreconfHook, pkgconfig , CoreFoundation, IOKit, libossp_uuid , curl, libcap, libuuid, lm_sensors, zlib, fetchpatch +, nixosTests , withCups ? false, cups , withDBengine ? true, libuv, lz4, judy , withIpmi ? (!stdenv.isDarwin), freeipmi @@ -14,14 +15,14 @@ with stdenv.lib; let go-d-plugin = callPackage ./go.d.plugin.nix {}; in stdenv.mkDerivation rec { - version = "1.23.2"; + version = "1.24.0"; pname = "netdata"; src = fetchFromGitHub { owner = "netdata"; repo = "netdata"; rev = "v${version}"; - sha256 = "1vv92plk9dxk6fl76ik1zralpzc35ymrfyrf1cr6pv8q3agyy5k4"; + sha256 = "19zr2wlsc8rbw6a7vjy4ivgq71l34lh70pcgwa0k5sp1vryj7r3d"; }; nativeBuildInputs = [ autoreconfHook pkgconfig ]; @@ -36,12 +37,6 @@ in stdenv.mkDerivation rec { patches = [ ./no-files-in-etc-and-var.patch - ] ++ stdenv.lib.optionals (!stdenv.cc.isGNU) [ - # fix memcpy typo for non-gnu. Remove with the next release. - (fetchpatch { - url = "https://github.com/netdata/netdata/commit/da7f267196b489e9a75724b68897e8f2e6137d72.patch"; - sha256 = "1j2sa06j6v491nw58bjx5nqqyfi1n2n9z3p3jiy4yh74m3asldlv"; - }) ]; NIX_CFLAGS_COMPILE = optionalString withDebug "-O1 -ggdb -DNETDATA_INTERNAL_CHECKS=1"; @@ -77,6 +72,8 @@ in stdenv.mkDerivation rec { rm -r $out/sbin ''; + passthru.tests.netdata = nixosTests.netdata; + meta = { description = "Real-time performance monitoring tool"; homepage = "https://my-netdata.io/"; @@ -84,5 +81,4 @@ in stdenv.mkDerivation rec { platforms = platforms.unix; maintainers = [ maintainers.lethalman ]; }; - } |