Skip to content

Commit

Permalink
rrdtool: apply upstream patch to fix file permission
Browse files Browse the repository at this point in the history
  • Loading branch information
Volth authored and Mic92 committed Jun 24, 2017
1 parent 6bb5e99 commit 85b9ff2
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion pkgs/tools/misc/rrdtool/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ fetchurl, stdenv, gettext, perl, pkgconfig, libxml2, pango, cairo, groff
{ fetchurl, fetchpatch, stdenv, gettext, perl, pkgconfig, libxml2, pango, cairo, groff
, tcl-8_5, darwin }:

stdenv.mkDerivation rec {
Expand All @@ -9,6 +9,14 @@ stdenv.mkDerivation rec {
sha256 = "0ssjqpa0dwwzbylc0drmlbq922qcw8crffc0rpr805xr6n4k8zgr";
};

patches = [
# fix regression https://github.com/oetiker/rrdtool-1.x/issues/794
(fetchpatch {
url = "https://github.com/oetiker/rrdtool-1.x/compare/0f28f99...f1edd12.patch";
sha256 = "10g56zy0rdjpv3kvvmf6vvaysmla05wi8byy3l0xrz2x8m02ylqq";
})
];

nativeBuildInputs = [ pkgconfig ];

buildInputs = [ gettext perl libxml2 pango cairo groff ]
Expand Down

0 comments on commit 85b9ff2

Please sign in to comment.