Merge pull request #268573 from panicgh/rrdtool

This commit is contained in:
Sandro 2024-01-24 10:28:34 +01:00 committed by GitHub
commit 671d2c5c5a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 ];