diff --git a/pkgs/by-name/li/libcollectdclient/package.nix b/pkgs/by-name/li/libcollectdclient/package.nix index b9247629c574..0d0dac4367b1 100644 --- a/pkgs/by-name/li/libcollectdclient/package.nix +++ b/pkgs/by-name/li/libcollectdclient/package.nix @@ -1,24 +1,26 @@ { lib, collectd }: -collectd.overrideAttrs (oldAttrs: { +collectd.overrideAttrs (prevAttrs: { pname = "libcollectdclient"; + buildInputs = [ ]; - configureFlags = (oldAttrs.configureFlags or [ ]) ++ [ + configureFlags = (prevAttrs.configureFlags or [ ]) ++ [ + "--with-perl-bindings=no" "--disable-daemon" "--disable-all-plugins" ]; postInstall = "rm -rf $out/{bin,etc,sbin,share}"; - meta = with lib; { + meta = { description = "C Library for collectd, a daemon which collects system performance statistics periodically"; - homepage = "http://collectd.org"; - license = licenses.gpl2; - platforms = platforms.linux; # TODO: collectd may be linux but the C client may be more portable? - maintainers = [ - maintainers.sheenobu - maintainers.bjornfor + homepage = "https://collectd.org"; + license = lib.licenses.gpl2Plus; + platforms = lib.platforms.unix; + maintainers = with lib.maintainers; [ + sheenobu + bjornfor ]; }; })