Merge pull request #268573 from panicgh/rrdtool
This commit is contained in:
commit
671d2c5c5a
1 changed files with 24 additions and 7 deletions
|
@ -1,16 +1,33 @@
|
|||
{ fetchurl, lib, stdenv, gettext, perl, pkg-config, libxml2, pango, cairo, groff
|
||||
, tcl, darwin }:
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, autoreconfHook
|
||||
, gettext
|
||||
, perl
|
||||
, pkg-config
|
||||
, libxml2
|
||||
, pango
|
||||
, cairo
|
||||
, groff
|
||||
, tcl
|
||||
, darwin
|
||||
}:
|
||||
|
||||
perl.pkgs.toPerlModule (stdenv.mkDerivation rec {
|
||||
pname = "rrdtool";
|
||||
version = "1.7.2";
|
||||
version = "1.8.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://oss.oetiker.ch/rrdtool/pub/rrdtool-${version}.tar.gz";
|
||||
sha256 = "1nsqra0g2nja19akmf9x5y9hhgc35ml3w9dcdz2ayz7zgvmzm6d1";
|
||||
src = fetchFromGitHub {
|
||||
owner = "oetiker";
|
||||
repo = "rrdtool-1.x";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-a+AxU1+YpkGoFs1Iu/CHAEZ4XIkWs7Vsnr6RcfXzsBE=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
autoreconfHook
|
||||
];
|
||||
|
||||
buildInputs = [ gettext perl libxml2 pango cairo groff ]
|
||||
++ lib.optionals stdenv.isDarwin [ tcl darwin.apple_sdk.frameworks.ApplicationServices ];
|
||||
|
|
Loading…
Reference in a new issue