diff options
author | Francesco Gazzetta <francygazz@gmail.com> | 2018-04-30 16:32:14 +0000 |
---|---|---|
committer | Francesco Gazzetta <francygazz@gmail.com> | 2018-05-02 14:10:43 +0000 |
commit | 42170173402e3d73494a5b3ea92b3ce46d1b1a93 (patch) | |
tree | f4d225c29b025c4038f4ea2813b87434608e7fa2 /pkgs/servers/monitoring | |
parent | 4aa5504aa3b543d2212385ee82dc58a54ad1f9d4 (diff) |
facette: init at 0.4.0
Diffstat (limited to 'pkgs/servers/monitoring')
-rw-r--r-- | pkgs/servers/monitoring/facette/default.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/servers/monitoring/facette/default.nix b/pkgs/servers/monitoring/facette/default.nix new file mode 100644 index 0000000000000..3858720bed5c1 --- /dev/null +++ b/pkgs/servers/monitoring/facette/default.nix @@ -0,0 +1,30 @@ +{ stdenv, fetchFromGitHub +, go, pkgconfig, nodejs, nodePackages, pandoc, rrdtool }: + +stdenv.mkDerivation rec { + name = "facette-${version}"; + version = "0.4.0"; + src = fetchFromGitHub { + owner = "facette"; + repo = "facette"; + rev = "${version}"; + sha256 = "1m7krq439qlf7b4l4bfjw0xfvjgj67w59mh8rf7c398rky04p257"; + }; + nativeBuildInputs = [ go pkgconfig nodejs nodePackages.npm pandoc ]; + buildInputs = [ rrdtool ]; + preBuild = '' + export HOME="$NIX_BUILD_ROOT" # npm needs a writable home + ''; + makeFlags = [ "PREFIX=$(out)" ]; + + meta = with stdenv.lib; { + description = "Time series data visualization software"; + longDescription = '' + Facette is a web application to display time series data from various + sources — such as collectd, Graphite, InfluxDB or KairosDB — on graphs. + ''; + homepage = https://facette.io/; + license = licenses.bsd3; + maintainers = with maintainers; [ fgaz ]; + }; +} |