Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, collectd }: 2 3collectd.overrideAttrs (oldAttrs: { 4 pname = "libcollectdclient"; 5 inherit (collectd) version; 6 buildInputs = [ ]; 7 8 configureFlags = (oldAttrs.configureFlags or []) ++ [ 9 "--disable-daemon" 10 "--disable-all-plugins" 11 ]; 12 13 postInstall = "rm -rf $out/{bin,etc,sbin,share}"; 14 15 meta = with lib; { 16 description = "C Library for collectd, a daemon which collects system performance statistics periodically"; 17 homepage = "http://collectd.org"; 18 license = licenses.gpl2; 19 platforms = platforms.linux; # TODO: collectd may be linux but the C client may be more portable? 20 maintainers = [ maintainers.sheenobu maintainers.bjornfor ]; 21 }; 22})