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