1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-18 10:56:53 +00:00
nixpkgs/pkgs/development/libraries/libcollectdclient/default.nix
Sheena Artrip 0bffa2f1a9 libcollectdclient: make client derive from collectd package
collectd: split version and name

libcollectdclient: make client derive from collectd package
2016-03-17 23:26:09 -04:00

25 lines
654 B
Nix

{ stdenv, fetchurl, collectd }:
with stdenv.lib;
overrideDerivation collectd (oldAttrs: {
name = "libcollectdclient-${collectd.version}";
buildInputs = [ ];
configureFlags = [
"--without-daemon"
];
makeFlags = [
"-C src/libcollectdclient/"
];
}) // {
meta = with stdenv.lib; {
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 ];
};
}