Merge pull request #96523 from Izorkin/netdata
This commit is contained in:
commit
3a6cea9ea6
@ -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 ];
|
||||
};
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user