Files
nixpkgs/pkgs/development/perl-modules/generic/default.nix
T

33 lines
690 B
Nix
Raw Normal View History

2005-01-22 00:19:27 +00:00
perl:
{ buildInputs ? [], name, ... } @ attrs:
2005-01-22 00:19:27 +00:00
2009-02-12 15:56:35 +00:00
perl.stdenv.mkDerivation (
{
2016-09-01 11:07:23 +02:00
outputs = [ "out" "devdoc" ];
2009-02-12 15:56:35 +00:00
doCheck = true;
2009-02-12 15:56:35 +00:00
checkTarget = "test";
# Prevent CPAN downloads.
PERL_AUTOINSTALL = "--skipdeps";
# Avoid creating perllocal.pod, which contains a timestamp
installTargets = "pure_install";
# From http://wiki.cpantesters.org/wiki/CPANAuthorNotes: "allows
# authors to skip certain tests (or include certain tests) when
# the results are not being monitored by a human being."
AUTOMATED_TESTING = true;
2009-02-12 15:56:35 +00:00
}
//
attrs
//
{
name = "perl-" + name;
2009-02-12 15:56:35 +00:00
builder = ./builder.sh;
2010-04-01 14:41:51 +00:00
buildInputs = buildInputs ++ [ perl ];
2009-02-12 15:56:35 +00:00
}
)