Merge pull request #39756 from fgaz/facette

facette: init at 0.4.0
This commit is contained in:
Pascal Wittmann 2018-05-02 17:01:36 +02:00 committed by GitHub
commit 42d3b536c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 32 additions and 0 deletions

@ -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 ];
};
}

@ -12394,6 +12394,8 @@ with pkgs;
exim = callPackage ../servers/mail/exim { };
facette = callPackage ../servers/monitoring/facette { };
fcgiwrap = callPackage ../servers/fcgiwrap { };
felix = callPackage ../servers/felix { };