summary refs log tree commit diff
path: root/pkgs/tools/system/netdata/default.nix
blob: 28ec7f1be4273f755134d71dbfe4e370858769e4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{ stdenv, fetchFromGitHub, autoreconfHook, zlib, pkgconfig }:

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

  src = fetchFromGitHub {
    rev = "v${version}";
    owner = "firehol";
    repo = "netdata";
    sha256 = "03107ny98zks05p44jzypkk4lw8lbvmqja5b537ln6cnrgp20yvq";
  };

  buildInputs = [ autoreconfHook zlib pkgconfig ];

  patches = [ ./web_access.patch ];

  meta = with stdenv.lib; {
    description = "Real-time performance monitoring tool";
    homepage = http://netdata.firehol.org;
    license = licenses.gpl3;
    platforms = platforms.linux;
    maintainers = [ maintainers.lethalman ];
  };

}