rrdtool: add passthru.perlModule

... so it can be used in `perl.withPackages`

A bit tricky though, because rrdtool is not in `perlPackages`
```nix
perl.withPackages(p: [ (rrdtool.override{ inherit (p) perl; }) ])
```
This commit is contained in:
volth 2019-04-21 18:56:09 +00:00 committed by rnhmjoj
parent a480ba06d9
commit 7d252394cc
No known key found for this signature in database
GPG key ID: BFBAF4C975F76450

View file

@ -1,7 +1,7 @@
{ fetchurl, lib, stdenv, gettext, perl, pkg-config, libxml2, pango, cairo, groff
, tcl-8_5, darwin }:
stdenv.mkDerivation rec {
perl.pkgs.toPerlModule (stdenv.mkDerivation rec {
name = "rrdtool-1.7.2";
src = fetchurl {
@ -27,4 +27,4 @@ stdenv.mkDerivation rec {
platforms = platforms.linux ++ platforms.darwin;
maintainers = with maintainers; [ pSub ];
};
}
})