summaryrefslogtreecommitdiff
path: root/pkgs/top-level/perl-packages.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/top-level/perl-packages.nix')
-rw-r--r--pkgs/top-level/perl-packages.nix270
1 files changed, 266 insertions, 4 deletions
diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix
index e930b2121d7b..e97a704c3de5 100644
--- a/pkgs/top-level/perl-packages.nix
+++ b/pkgs/top-level/perl-packages.nix
@@ -174,6 +174,22 @@ let
propagatedBuildInputs = [ AlgorithmDiff ];
};
+ AlienBaseModuleBuild = buildPerlModule {
+ pname = "Alien-Base-ModuleBuild";
+ version = "1.15";
+ src = fetchurl {
+ url = "mirror://cpan/authors/id/P/PL/PLICEASE/Alien-Base-ModuleBuild-1.15.tar.gz";
+ sha256 = "13c9432cf41b34cb14df2454a03e540e2bd5dc9eb9c82824b6ad0f4c67793afd";
+ };
+ buildInputs = [ Test2Suite ];
+ propagatedBuildInputs = [ AlienBuild ArchiveExtract CaptureTiny Filechdir PathTiny ShellConfigGenerate ShellGuess SortVersions URI ];
+ meta = {
+ homepage = https://metacpan.org/pod/Alien::Base::ModuleBuild;
+ description = "A Module::Build subclass for building Alien:: modules and their libraries";
+ license = with lib.licenses; [ artistic1 gpl1Plus ];
+ };
+ };
+
AlienBuild = buildPerlPackage {
pname = "Alien-Build";
version = "2.37";
@@ -204,6 +220,21 @@ let
};
};
+ AlienLibGumbo = buildPerlModule {
+ pname = "Alien-LibGumbo";
+ version = "0.05";
+ src = fetchurl {
+ url = "mirror://cpan/authors/id/R/RU/RUZ/Alien-LibGumbo-0.05.tar.gz";
+ sha256 = "0fbe916ab11f680e5c28cd1ac800372323e2a0e06affc6c8b36279fc64d76517";
+ };
+ buildInputs = [ AlienBaseModuleBuild ];
+ propagatedBuildInputs = [ AlienBuild FileShareDir PathClass ];
+ meta = {
+ description = "Gumbo parser library";
+ license = with lib.licenses; [ artistic1 gpl1Plus ];
+ };
+ };
+
AlienLibxml2 = buildPerlPackage {
pname = "Alien-Libxml2";
version = "0.17";
@@ -3907,6 +3938,20 @@ let
};
};
+ CryptArgon2 = perlPackages.buildPerlModule {
+ pname = "Crypt-Argon2";
+ version = "0.010";
+ src = fetchurl {
+ url = "mirror://cpan/authors/id/L/LE/LEONT/Crypt-Argon2-0.010.tar.gz";
+ sha256 = "3ea1c006f10ef66fd417e502a569df15c4cc1c776b084e35639751c41ce6671a";
+ };
+ nativeBuildInputs = [ pkgs.ld-is-cc-hook ];
+ meta = {
+ description = "Perl interface to the Argon2 key derivation functions";
+ license = lib.licenses.cc0;
+ };
+ };
+
CryptBlowfish = buildPerlPackage {
pname = "Crypt-Blowfish";
version = "2.14";
@@ -4081,6 +4126,33 @@ let
};
};
+ CryptPassphrase = buildPerlPackage {
+ pname = "Crypt-Passphrase";
+ version = "0.003";
+ src = fetchurl {
+ url = "mirror://cpan/authors/id/L/LE/LEONT/Crypt-Passphrase-0.003.tar.gz";
+ sha256 = "685aa090f8179a86d6896212ccf8ccfde7a79cce857199bb14e2277a10d240ad";
+ };
+ meta = {
+ description = "A module for managing passwords in a cryptographically agile manner";
+ license = with lib.licenses; [ artistic1 gpl1Plus ];
+ };
+ };
+
+ CryptPassphraseArgon2 = buildPerlPackage {
+ pname = "Crypt-Passphrase-Argon2";
+ version = "0.002";
+ src = fetchurl {
+ url = "mirror://cpan/authors/id/L/LE/LEONT/Crypt-Passphrase-Argon2-0.002.tar.gz";
+ sha256 = "3906ff81697d13804ee21bd5ab78ffb1c4408b4822ce020e92ecf4737ba1f3a8";
+ };
+ propagatedBuildInputs = with perlPackages; [ CryptArgon2 CryptPassphrase ];
+ meta = {
+ description = "An Argon2 encoder for Crypt::Passphrase";
+ license = with lib.licenses; [ artistic1 gpl1Plus ];
+ };
+ };
+
CryptPasswdMD5 = buildPerlModule {
pname = "Crypt-PasswdMD5";
version = "1.40";
@@ -4565,6 +4637,19 @@ let
};
};
+ CryptX509 = buildPerlPackage {
+ pname = "Crypt-X509";
+ version = "0.53";
+ src = fetchurl {
+ url = "mirror://cpan/authors/id/M/MR/MRSCOTTY/Crypt-X509-0.53.tar.gz";
+ sha256 = "d2ff614f9457dc87ab277b81bced3532c3ed309b73b9a61aaefbe9488c9e660f";
+ };
+ propagatedBuildInputs = [ ConvertASN1 ];
+ meta = {
+ description = "Parse a X.509 certificate";
+ };
+ };
+
CwdGuard = buildPerlModule {
pname = "Cwd-Guard";
version = "0.05";
@@ -9163,7 +9248,7 @@ let
propagatedBuildInputs = [ Readonly Gtk3 ];
checkInputs = [ TestDifferences PerlMagick TryTiny TestMockObject CarpAlways pkgs.librsvg ];
checkPhase = ''
- ${pkgs.xvfb_run}/bin/xvfb-run -s '-screen 0 800x600x24' \
+ ${pkgs.xvfb-run}/bin/xvfb-run -s '-screen 0 800x600x24' \
make test
'';
meta = {
@@ -9430,6 +9515,21 @@ let
};
};
+ HTMLFormatExternal = buildPerlPackage {
+ pname = "HTML-FormatExternal";
+ version = "26";
+ src = fetchurl {
+ url = "mirror://cpan/authors/id/K/KR/KRYDE/HTML-FormatExternal-26.tar.gz";
+ sha256 = "3c59f233d0b10686a85aed0c994011cec68626da0128dea90b5c4fdc1746cfc3";
+ };
+ propagatedBuildInputs = [ IPCRun URI constant-defer ];
+ meta = {
+ homepage = http://user42.tuxfamily.org/html-formatexternal/index.html;
+ description = "HTML to text formatting using external programs";
+ license = lib.licenses.gpl3Plus;
+ };
+ };
+
HTMLFormatTextWithLinks = buildPerlModule {
pname = "HTML-FormatText-WithLinks";
version = "0.15";
@@ -9505,6 +9605,20 @@ let
};
};
+ HTMLGumbo = buildPerlModule {
+ pname = "HTML-Gumbo";
+ version = "0.18";
+ src = fetchurl {
+ url = "mirror://cpan/authors/id/R/RU/RUZ/HTML-Gumbo-0.18.tar.gz";
+ sha256 = "bf50b61c24656cc3fc958602d80a9c7d017247af38d8dbfa0e9dec5b75425d5f";
+ };
+ propagatedBuildInputs = [ AlienLibGumbo ];
+ meta = {
+ description = "HTML5 parser based on gumbo C library";
+ license = with lib.licenses; [ artistic1 gpl1Plus ];
+ };
+ };
+
HTMLMason = buildPerlPackage {
pname = "HTML-Mason";
version = "1.59";
@@ -9868,6 +9982,21 @@ let
propagatedBuildInputs = [ XMLDOM ];
};
+ HTTPHeadersActionPack = buildPerlPackage {
+ pname = "HTTP-Headers-ActionPack";
+ version = "0.09";
+ src = fetchurl {
+ url = "mirror://cpan/authors/id/D/DR/DROLSKY/HTTP-Headers-ActionPack-0.09.tar.gz";
+ sha256 = "c78111ab857e48c69824903d4b6ce8293feffc6b5d670db550a767f853acc7da";
+ };
+ buildInputs = [ TestFatal TestWarnings ];
+ propagatedBuildInputs = [ HTTPDate HTTPMessage ModuleRuntime SubExporter URI ];
+ meta = {
+ description = "HTTP Action, Adventure and Excitement";
+ license = with lib.licenses; [ artistic1 gpl1Plus ];
+ };
+ };
+
HTTPHeaderParserXS = buildPerlPackage {
pname = "HTTP-HeaderParser-XS";
version = "0.20";
@@ -10673,6 +10802,16 @@ let
sha256 = "0skm22b3gg1bfk0amklrprpva41m6mkrhqp0gi7z1nmcf9ypjh61";
};
+ patches = [
+ # Unfortunately, not every release is uploaded to CPAN so security fixes
+ # would need to be cherry-picked from releases
+ (fetchpatch {
+ name = "CVE-2021-22204.patch";
+ url = "https://salsa.debian.org/perl-team/modules/packages/libimage-exiftool-perl/-/raw/0347501fda93cb8366d6451aedcf258b34fb4a2b/debian/patches/CVE-2021-22204.patch";
+ sha256 = "1fxw32zcssillnv764wsd05lyswn8bbrc90q5cy9aknx0ncgsrxj";
+ })
+ ];
+
nativeBuildInputs = lib.optional stdenv.isDarwin shortenPerlShebang;
postInstall = lib.optionalString stdenv.isDarwin ''
shortenPerlShebang $out/bin/exiftool
@@ -13630,6 +13769,22 @@ let
};
};
+ MojoliciousPluginSyslog = buildPerlPackage {
+ pname = "Mojolicious-Plugin-Syslog";
+ version = "0.04";
+ src = fetchurl {
+ url = "mirror://cpan/authors/id/J/JH/JHTHORSEN/Mojolicious-Plugin-Syslog-0.04.tar.gz";
+ sha256 = "807d06b88304675a2bb9181bab123a0e16d3cf2f6a5753a168090ed88085a492";
+ };
+ propagatedBuildInputs = [ Mojolicious ];
+ meta = {
+ homepage = "https://github.com/jhthorsen/mojolicious-plugin-syslog";
+ description = "A plugin for enabling a Mojolicious app to log to syslog";
+ license = lib.licenses.artistic2;
+ maintainers = [ maintainers.sgo ];
+ };
+ };
+
MojoliciousPluginTextExceptions = buildPerlPackage {
pname = "Mojolicious-Plugin-TextExceptions";
version = "0.02";
@@ -13998,6 +14153,21 @@ let
};
};
+ MooXTypeTiny = buildPerlPackage {
+ pname = "MooX-TypeTiny";
+ version = "0.002003";
+ src = fetchurl {
+ url = "mirror://cpan/authors/id/H/HA/HAARG/MooX-TypeTiny-0.002003.tar.gz";
+ sha256 = "d81e26ff6f8db10261f0087f96dc54367dcb49a9f3de8d53238f834ece19624b";
+ };
+ buildInputs = [ TestFatal ];
+ propagatedBuildInputs = [ Moo TypeTiny ];
+ meta = {
+ description = "Optimized type checks for Moo + Type::Tiny";
+ license = with lib.licenses; [ artistic1 gpl1Plus ];
+ };
+ };
+
MooseAutobox = buildPerlModule {
pname = "Moose-Autobox";
version = "0.16";
@@ -16434,6 +16604,22 @@ let
};
};
+ PathDispatcher = buildPerlPackage {
+ pname = "Path-Dispatcher";
+ version = "1.08";
+ src = fetchurl {
+ url = "mirror://cpan/authors/id/E/ET/ETHER/Path-Dispatcher-1.08.tar.gz";
+ sha256 = "79a9f61c27408b4fd1ed234dac246974ddeafa7fe635a18fe41ec7783130ae2a";
+ };
+ buildInputs = [ ModuleBuildTiny TestFatal ];
+ propagatedBuildInputs = [ Moo MooXTypeTiny TryTiny TypeTiny ];
+ meta = {
+ homepage = https://github.com/karenetheridge/Path-Dispatcher;
+ description = "Flexible and extensible dispatch";
+ license = with lib.licenses; [ artistic1 gpl1Plus ];
+ };
+ };
+
PathIteratorRule = buildPerlPackage {
pname = "Path-Iterator-Rule";
version = "1.014";
@@ -16535,10 +16721,10 @@ let
PDFBuilder = buildPerlPackage {
pname = "PDF-Builder";
- version = "3.021";
+ version = "3.022";
src = fetchurl {
- url = "mirror://cpan/authors/id/P/PM/PMPERRY/PDF-Builder-3.021.tar.gz";
- sha256 = "1hc22s5gdspr5nyfmix3cwdzcw7z66pcqxy422ksmbninbzv4z93";
+ url = "mirror://cpan/authors/id/P/PM/PMPERRY/PDF-Builder-3.022.tar.gz";
+ sha256 = "0cfafyci5xar567z82w0vcjrwa6inf1a9ydszgkz51bi1ilj8as8";
};
checkInputs = [ TestException TestMemoryCycle ];
propagatedBuildInputs = [ FontTTF ];
@@ -18809,6 +18995,19 @@ let
};
};
+ StringCompareConstantTime = buildPerlPackage {
+ pname = "String-Compare-ConstantTime";
+ version = "0.321";
+ src = fetchurl {
+ url = "mirror://cpan/authors/id/F/FR/FRACTAL/String-Compare-ConstantTime-0.321.tar.gz";
+ sha256 = "0b26ba2b121d8004425d4485d1d46f59001c83763aa26624dff6220d7735d7f7";
+ };
+ meta = {
+ description = "Timing side-channel protected string compare";
+ license = with lib.licenses; [ artistic1 gpl1Plus ];
+ };
+ };
+
StringCRC32 = buildPerlPackage {
pname = "String-CRC32";
version = "2";
@@ -19000,6 +19199,36 @@ let
};
};
+ ShellConfigGenerate = buildPerlPackage {
+ pname = "Shell-Config-Generate";
+ version = "0.34";
+ src = fetchurl {
+ url = "mirror://cpan/authors/id/P/PL/PLICEASE/Shell-Config-Generate-0.34.tar.gz";
+ sha256 = "84f451f22215dd68e9c18aa3f7ddb03a82007d166cfada003d0f166f571e0562";
+ };
+ buildInputs = [ Test2Suite ];
+ propagatedBuildInputs = [ ShellGuess ];
+ meta = {
+ homepage = https://metacpan.org/pod/Shell::Config::Generate;
+ description = "Portably generate config for any shell";
+ license = with lib.licenses; [ artistic1 gpl1Plus ];
+ };
+ };
+
+ ShellGuess = buildPerlPackage {
+ pname = "Shell-Guess";
+ version = "0.09";
+ src = fetchurl {
+ url = "mirror://cpan/authors/id/P/PL/PLICEASE/Shell-Guess-0.09.tar.gz";
+ sha256 = "4069fa2637e443118ed956d710231d166823d23b2a64eb87b8a46872e865a12b";
+ };
+ meta = {
+ homepage = https://metacpan.org/pod/Shell::Guess;
+ description = "Make an educated guess about the shell in use";
+ license = with lib.licenses; [ artistic1 gpl1Plus ];
+ };
+ };
+
StringToIdentifierEN = buildPerlPackage {
pname = "String-ToIdentifier-EN";
version = "0.12";
@@ -21558,6 +21787,8 @@ let
url = "mirror://cpan/authors/id/A/AM/AMBS/Text-BibTeX-0.88.tar.gz";
sha256 = "0b7lmjvfmypps1nw6nsdikgaakm0n0g4186glaqazg5xd1p5h55h";
};
+ # libbtparse.so: cannot open shared object file (aarch64 only)
+ patches = [ ../development/perl-modules/TextBibTeX-use-lib-on-aarch64.patch ];
perlPreHook = "export LD=$CC";
perlPostHook = lib.optionalString stdenv.isDarwin ''
oldPath="$(pwd)/btparse/src/libbtparse.dylib"
@@ -22151,6 +22382,21 @@ let
propagatedBuildInputs = [ URI ];
};
+ TextWordDiff = buildPerlPackage {
+ pname = "Text-WordDiff";
+ version = "0.09";
+ src = fetchurl {
+ url = "mirror://cpan/authors/id/T/TI/TIMK/Text-WordDiff-0.09.tar.gz";
+ sha256 = "fee699ca763adca2f4e18f4a8a836fd2102bc2820af708f8eb43356d5ae0d50e";
+ };
+ propagatedBuildInputs = [ AlgorithmDiff HTMLParser ];
+ meta = {
+ homepage = https://metacpan.org/release/Text-WordDiff;
+ description = "Track changes between documents";
+ license = with lib.licenses; [ artistic1 gpl1Plus ];
+ };
+ };
+
TextWrapI18N = buildPerlPackage {
pname = "Text-WrapI18N";
version = "0.06";
@@ -23787,6 +24033,22 @@ let
};
};
+ WebMachine = buildPerlPackage {
+ pname = "Web-Machine";
+ version = "0.17";
+ src = fetchurl {
+ url = "mirror://cpan/authors/id/D/DR/DROLSKY/Web-Machine-0.17.tar.gz";
+ sha256 = "f139d2b3114c549e91847daaab8b75cb699e57daf5bbf0dbd13293f33fe5e22a";
+ };
+ buildInputs = [ NetHTTP TestFailWarnings TestFatal ];
+ propagatedBuildInputs = [ HTTPHeadersActionPack HTTPMessage HashMultiValue IOHandleUtil ModuleRuntime Plack SubExporter TryTiny ];
+ meta = {
+ homepage = http://metacpan.org/release/Web-Machine;
+ description = "A Perl port of Webmachine";
+ license = with lib.licenses; [ artistic1 gpl1Plus ];
+ };
+ };
+
WebServiceLinode = buildPerlModule {
pname = "WebService-Linode";
version = "0.29";