diff options
author | Pascal Wittmann <mail@pascal-wittmann.de> | 2018-05-02 17:01:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-02 17:01:36 +0200 |
commit | 42d3b536c65176ad97d0c3047f563823b2235201 (patch) | |
tree | 1cf3896c3a023515db79257c8ea8bd05b10b3ff5 /pkgs/servers/monitoring | |
parent | 27eb2859f270c55d06d2f5a256351576b20b5ec6 (diff) | |
parent | 42170173402e3d73494a5b3ea92b3ce46d1b1a93 (diff) |
Merge pull request #39756 from fgaz/facette
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 ]; + }; +} |