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
31
pkgs/tools/misc/rrdtool/default.nix
Normal file
31
pkgs/tools/misc/rrdtool/default.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{ fetchurl, lib, stdenv, gettext, perl, pkg-config, libxml2, pango, cairo, groff
|
||||
, tcl-8_5, darwin }:
|
||||
|
||||
perl.pkgs.toPerlModule (stdenv.mkDerivation rec {
|
||||
pname = "rrdtool";
|
||||
version = "1.7.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://oss.oetiker.ch/rrdtool/pub/rrdtool-${version}.tar.gz";
|
||||
sha256 = "1nsqra0g2nja19akmf9x5y9hhgc35ml3w9dcdz2ayz7zgvmzm6d1";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [ gettext perl libxml2 pango cairo groff ]
|
||||
++ lib.optionals stdenv.isDarwin [ tcl-8_5 darwin.apple_sdk.frameworks.ApplicationServices ];
|
||||
|
||||
postInstall = ''
|
||||
# for munin and rrdtool support
|
||||
mkdir -p $out/${perl.libPrefix}
|
||||
mv $out/lib/perl/5* $out/${perl.libPrefix}
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://oss.oetiker.ch/rrdtool/";
|
||||
description = "High performance logging in Round Robin Databases";
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
maintainers = with maintainers; [ pSub ];
|
||||
};
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue