1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-28 08:31:59 +00:00
nixpkgs/pkgs/servers/monitoring/facette/default.nix
Francesco Gazzetta 0e0e963847 facette: mark as broken since it requires internet
It _is_ buildable, just not without an internet connection (like in hydra)
2018-08-20 16:17:15 +02:00

32 lines
1 KiB
Nix

{ stdenv, fetchFromGitHub
, go, pkgconfig, nodejs, nodePackages, pandoc, rrdtool }:
stdenv.mkDerivation rec {
name = "facette-${version}";
version = "0.4.1";
src = fetchFromGitHub {
owner = "facette";
repo = "facette";
rev = "${version}";
sha256 = "0p28s2vn18cqg8p7bzhb38wky0m98d5xv3wvf1nmg1kmwhwim6mi";
};
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 ];
broken = true; # not really broken, it just requires an internet connection to build. see #45382
};
}