uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
23
pkgs/development/libraries/libcollectdclient/default.nix
Normal file
23
pkgs/development/libraries/libcollectdclient/default.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{ lib, collectd }:
|
||||
with lib;
|
||||
|
||||
collectd.overrideAttrs (oldAttrs: {
|
||||
pname = "libcollectdclient";
|
||||
inherit (collectd) version;
|
||||
buildInputs = [ ];
|
||||
|
||||
configureFlags = (oldAttrs.configureFlags or []) ++ [
|
||||
"--disable-daemon"
|
||||
"--disable-all-plugins"
|
||||
];
|
||||
|
||||
postInstall = "rm -rf $out/{bin,etc,sbin,share}";
|
||||
|
||||
meta = with 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 ];
|
||||
};
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue