collectd-data: init at 5.7.0 - contains just data files from collectd

This commit is contained in:
Peter Hoeg 2017-08-11 09:47:27 +08:00
parent a7c8f5e419
commit 719aa35c0c
2 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,14 @@
{ stdenv, collectd }:
stdenv.mkDerivation rec {
inherit (collectd) meta version;
name = "collectd-data-${version}";
phases = [ "installPhase" ];
installPhase = ''
mkdir -p $out/share/collectd
cp ${collectd}/share/collectd/*.{db,conf} $out/share/collectd/
'';
}

View File

@ -1362,6 +1362,8 @@ with pkgs;
libsigrok = libsigrok-0-3-0; # not compatible with >= 0.4.0 yet
};
collectd-data = callPackage ../tools/system/collectd/data.nix { };
colormake = callPackage ../development/tools/build-managers/colormake { };
cpuminer = callPackage ../tools/misc/cpuminer { };