lol
at 16.09-beta 26 lines 852 B view raw
1{ fetchurl, stdenv, gettext, perl, pkgconfig, libxml2, pango, cairo, groff 2, tcl-8_5 }: 3 4stdenv.mkDerivation rec { 5 name = "rrdtool-1.5.5"; 6 src = fetchurl { 7 url = "http://oss.oetiker.ch/rrdtool/pub/${name}.tar.gz"; 8 sha256 = "1xm6ikzx8iaa6r7v292k8s7srkzhnifamp1szkimgmh5ki26sa1s"; 9 }; 10 buildInputs = [ gettext perl pkgconfig libxml2 pango cairo groff ] 11 ++ stdenv.lib.optional stdenv.isDarwin tcl-8_5; 12 13 postInstall = '' 14 # for munin and rrdtool support 15 mkdir -p $out/lib/perl5/site_perl/ 16 mv $out/lib/perl/5* $out/lib/perl5/site_perl/ 17 ''; 18 19 meta = with stdenv.lib; { 20 homepage = http://oss.oetiker.ch/rrdtool/; 21 description = "High performance logging in Round Robin Databases"; 22 license = licenses.gpl2; 23 platforms = platforms.linux ++ platforms.darwin; 24 maintainers = with maintainers; [ pSub ]; 25 }; 26}