2017-08-11 02:47:27 +01:00
|
|
|
{ stdenv, collectd }:
|
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
stdenv.mkDerivation {
|
2017-08-11 02:47:27 +01:00
|
|
|
inherit (collectd) meta version;
|
|
|
|
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "collectd-data";
|
2017-08-11 02:47:27 +01:00
|
|
|
|
|
|
|
phases = [ "installPhase" ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/share/collectd
|
|
|
|
cp ${collectd}/share/collectd/*.{db,conf} $out/share/collectd/
|
|
|
|
'';
|
|
|
|
}
|