1{ stdenv, collectd }: 2 3stdenv.mkDerivation { 4 pname = "collectd-data"; 5 inherit (collectd) meta src version; 6 7 dontConfigure = true; 8 dontBuild = true; 9 dontFixup = true; 10 11 installPhase = '' 12 install -Dm444 -t $out/share/collectd/ src/*.{db,conf} 13 ''; 14}