libcollectdclient: fix build

I unified the `meta` field from `collectd` here too.
This commit is contained in:
Philip Taron
2025-06-20 06:47:26 +02:00
committed by Bjørn Forsman
parent 97734f4a9a
commit 16252c01f0
+11 -9
View File
@@ -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
];
};
})