Merge pull request #44421 from volth/perl-524-528
perl: 5.24.4 -> 5.28.0
This commit is contained in:
commit
8c784998f6
3 changed files with 40 additions and 43 deletions
|
@ -1,10 +1,10 @@
|
||||||
perl:
|
{ lib, stdenv, perl }:
|
||||||
|
|
||||||
{ nativeBuildInputs ? [], name, ... } @ attrs:
|
{ nativeBuildInputs ? [], name, ... } @ attrs:
|
||||||
|
|
||||||
perl.stdenv.mkDerivation (
|
stdenv.mkDerivation (
|
||||||
(
|
(
|
||||||
perl.stdenv.lib.recursiveUpdate
|
lib.recursiveUpdate
|
||||||
{
|
{
|
||||||
outputs = [ "out" "devdoc" ];
|
outputs = [ "out" "devdoc" ];
|
||||||
|
|
||||||
|
@ -23,13 +23,17 @@ perl.stdenv.mkDerivation (
|
||||||
# the results are not being monitored by a human being."
|
# the results are not being monitored by a human being."
|
||||||
AUTOMATED_TESTING = true;
|
AUTOMATED_TESTING = true;
|
||||||
|
|
||||||
|
# current directory (".") is removed from @INC in Perl 5.26 but many old libs rely on it
|
||||||
|
# https://metacpan.org/pod/release/XSAWYERX/perl-5.26.0/pod/perldelta.pod#Removal-of-the-current-directory-%28%22.%22%29-from-@INC
|
||||||
|
PERL_USE_UNSAFE_INC = lib.optionalString (lib.versionAtLeast (lib.getVersion perl) "5.26") "1";
|
||||||
|
|
||||||
meta.homepage = "https://metacpan.org/release/${(builtins.parseDrvName name).name}";
|
meta.homepage = "https://metacpan.org/release/${(builtins.parseDrvName name).name}";
|
||||||
}
|
}
|
||||||
attrs
|
attrs
|
||||||
)
|
)
|
||||||
//
|
//
|
||||||
{
|
{
|
||||||
name = "perl-" + name;
|
name = "perl${lib.getVersion perl}-${name}";
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
nativeBuildInputs = nativeBuildInputs ++ [ (perl.dev or perl) ];
|
nativeBuildInputs = nativeBuildInputs ++ [ (perl.dev or perl) ];
|
||||||
inherit perl;
|
inherit perl;
|
||||||
|
|
|
@ -7443,7 +7443,6 @@ with pkgs;
|
||||||
|
|
||||||
ocropus = callPackage ../applications/misc/ocropus { };
|
ocropus = callPackage ../applications/misc/ocropus { };
|
||||||
|
|
||||||
perl = perl524;
|
|
||||||
inherit (callPackages ../development/interpreters/perl {}) perl522 perl524 perl526 perl528;
|
inherit (callPackages ../development/interpreters/perl {}) perl522 perl524 perl526 perl528;
|
||||||
|
|
||||||
pachyderm = callPackage ../applications/networking/cluster/pachyderm { };
|
pachyderm = callPackage ../applications/networking/cluster/pachyderm { };
|
||||||
|
@ -12579,11 +12578,25 @@ with pkgs;
|
||||||
|
|
||||||
### DEVELOPMENT / PERL MODULES
|
### DEVELOPMENT / PERL MODULES
|
||||||
|
|
||||||
buildPerlPackage = callPackage ../development/perl-modules/generic perl;
|
perl522Packages = recurseIntoAttrs (callPackage ./perl-packages.nix {
|
||||||
|
perl = perl522;
|
||||||
perlPackages = recurseIntoAttrs (callPackage ./perl-packages.nix {
|
|
||||||
overrides = (config.perlPackageOverrides or (p: {})) pkgs;
|
overrides = (config.perlPackageOverrides or (p: {})) pkgs;
|
||||||
});
|
});
|
||||||
|
perl524Packages = recurseIntoAttrs (callPackage ./perl-packages.nix {
|
||||||
|
perl = perl524;
|
||||||
|
overrides = (config.perlPackageOverrides or (p: {})) pkgs;
|
||||||
|
});
|
||||||
|
perl526Packages = recurseIntoAttrs (callPackage ./perl-packages.nix {
|
||||||
|
perl = perl526;
|
||||||
|
overrides = (config.perlPackageOverrides or (p: {})) pkgs;
|
||||||
|
});
|
||||||
|
perl528Packages = recurseIntoAttrs (callPackage ./perl-packages.nix {
|
||||||
|
perl = perl528;
|
||||||
|
overrides = (config.perlPackageOverrides or (p: {})) pkgs;
|
||||||
|
});
|
||||||
|
|
||||||
|
perlPackages = perl528Packages;
|
||||||
|
inherit (perlPackages) perl buildPerlPackage;
|
||||||
|
|
||||||
perlXMLParser = perlPackages.XMLParser;
|
perlXMLParser = perlPackages.XMLParser;
|
||||||
|
|
||||||
|
|
|
@ -7,13 +7,16 @@
|
||||||
|
|
||||||
{config, pkgs, fetchurl, fetchFromGitHub, stdenv, gnused, perl, overrides}:
|
{config, pkgs, fetchurl, fetchFromGitHub, stdenv, gnused, perl, overrides}:
|
||||||
|
|
||||||
let self = _self // overrides; _self = with self; {
|
let
|
||||||
|
inherit (stdenv.lib) maintainers;
|
||||||
|
self = _self // overrides;
|
||||||
|
_self = with self; {
|
||||||
|
|
||||||
inherit perl;
|
inherit perl;
|
||||||
|
|
||||||
inherit (pkgs) buildPerlPackage;
|
callPackage = pkgs.newScope self;
|
||||||
|
|
||||||
inherit (stdenv.lib) maintainers;
|
buildPerlPackage = callPackage ../development/perl-modules/generic { };
|
||||||
|
|
||||||
# Helper functions for packages that use Module::Build to build.
|
# Helper functions for packages that use Module::Build to build.
|
||||||
buildPerlModule = { buildInputs ? [], ... } @ args:
|
buildPerlModule = { buildInputs ? [], ... } @ args:
|
||||||
|
@ -715,10 +718,7 @@ let self = _self // overrides; _self = with self; {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
BerkeleyDB = import ../development/perl-modules/BerkeleyDB {
|
BerkeleyDB = callPackage ../development/perl-modules/BerkeleyDB { };
|
||||||
inherit buildPerlPackage fetchurl;
|
|
||||||
inherit (pkgs) db;
|
|
||||||
};
|
|
||||||
|
|
||||||
BHooksEndOfScope = buildPerlPackage rec {
|
BHooksEndOfScope = buildPerlPackage rec {
|
||||||
name = "B-Hooks-EndOfScope-0.24";
|
name = "B-Hooks-EndOfScope-0.24";
|
||||||
|
@ -2388,10 +2388,7 @@ let self = _self // overrides; _self = with self; {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
CompressRawZlib = import ../development/perl-modules/Compress-Raw-Zlib {
|
CompressRawZlib = callPackage ../development/perl-modules/Compress-Raw-Zlib { };
|
||||||
inherit fetchurl buildPerlPackage stdenv;
|
|
||||||
inherit (pkgs) zlib;
|
|
||||||
};
|
|
||||||
|
|
||||||
CompressUnLZMA = buildPerlPackage rec {
|
CompressUnLZMA = buildPerlPackage rec {
|
||||||
name = "Compress-unLZMA-0.05";
|
name = "Compress-unLZMA-0.05";
|
||||||
|
@ -4028,30 +4025,15 @@ let self = _self // overrides; _self = with self; {
|
||||||
buildInputs = [ TestException ];
|
buildInputs = [ TestException ];
|
||||||
};
|
};
|
||||||
|
|
||||||
DBDSQLite = import ../development/perl-modules/DBD-SQLite {
|
DBDSQLite = callPackage ../development/perl-modules/DBD-SQLite { };
|
||||||
inherit stdenv fetchurl buildPerlPackage DBI;
|
|
||||||
inherit (pkgs) sqlite;
|
|
||||||
};
|
|
||||||
|
|
||||||
DBDmysql = import ../development/perl-modules/DBD-mysql {
|
DBDmysql = callPackage ../development/perl-modules/DBD-mysql { };
|
||||||
inherit fetchurl buildPerlPackage DBI;
|
|
||||||
inherit (pkgs) mysql;
|
|
||||||
};
|
|
||||||
|
|
||||||
DBDPg = import ../development/perl-modules/DBD-Pg {
|
DBDPg = callPackage ../development/perl-modules/DBD-Pg { };
|
||||||
inherit stdenv fetchurl buildPerlPackage DBI;
|
|
||||||
inherit (pkgs) postgresql;
|
|
||||||
};
|
|
||||||
|
|
||||||
DBDsybase = import ../development/perl-modules/DBD-sybase {
|
DBDsybase = callPackage ../development/perl-modules/DBD-sybase { };
|
||||||
inherit fetchurl buildPerlPackage DBI;
|
|
||||||
inherit (pkgs) freetds;
|
|
||||||
};
|
|
||||||
|
|
||||||
DBFile = import ../development/perl-modules/DB_File {
|
DBFile = callPackage ../development/perl-modules/DB_File { };
|
||||||
inherit fetchurl buildPerlPackage;
|
|
||||||
inherit (pkgs) db;
|
|
||||||
};
|
|
||||||
|
|
||||||
DBI = buildPerlPackage rec {
|
DBI = buildPerlPackage rec {
|
||||||
name = "DBI-${version}";
|
name = "DBI-${version}";
|
||||||
|
@ -9017,9 +8999,7 @@ let self = _self // overrides; _self = with self; {
|
||||||
propagatedBuildInputs = [ LWP NetDNS ];
|
propagatedBuildInputs = [ LWP NetDNS ];
|
||||||
};
|
};
|
||||||
|
|
||||||
maatkit = import ../development/perl-modules/maatkit {
|
maatkit = callPackage ../development/perl-modules/maatkit { };
|
||||||
inherit fetchurl buildPerlPackage stdenv DBDmysql;
|
|
||||||
};
|
|
||||||
|
|
||||||
MacPasteboard = buildPerlPackage rec {
|
MacPasteboard = buildPerlPackage rec {
|
||||||
name = "Mac-Pasteboard-0.009";
|
name = "Mac-Pasteboard-0.009";
|
||||||
|
@ -9512,7 +9492,7 @@ let self = _self // overrides; _self = with self; {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
MNI-Perllib = pkgs.callPackage ../development/perl-modules/MNI {};
|
MNI-Perllib = callPackage ../development/perl-modules/MNI {};
|
||||||
|
|
||||||
Mo = buildPerlPackage rec {
|
Mo = buildPerlPackage rec {
|
||||||
name = "Mo-0.40";
|
name = "Mo-0.40";
|
||||||
|
|
Loading…
Reference in a new issue