diff options
author | Alyssa Ross <hi@alyssa.is> | 2023-08-08 16:04:42 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2023-08-13 06:35:37 +0000 |
commit | 12aaa58dac35800b5b7d77f81cf2a87c21ee55da (patch) | |
tree | be0add9e5c22a85d20b5d78206aa74f956eb2a1b /nixpkgs/pkgs/top-level/perl-packages.nix | |
parent | 45892a5591202f75a1c2f1ca7c62a92c7566e3c5 (diff) | |
parent | 5a8e9243812ba528000995b294292d3b5e120947 (diff) | |
download | nixlib-12aaa58dac35800b5b7d77f81cf2a87c21ee55da.tar nixlib-12aaa58dac35800b5b7d77f81cf2a87c21ee55da.tar.gz nixlib-12aaa58dac35800b5b7d77f81cf2a87c21ee55da.tar.bz2 nixlib-12aaa58dac35800b5b7d77f81cf2a87c21ee55da.tar.lz nixlib-12aaa58dac35800b5b7d77f81cf2a87c21ee55da.tar.xz nixlib-12aaa58dac35800b5b7d77f81cf2a87c21ee55da.tar.zst nixlib-12aaa58dac35800b5b7d77f81cf2a87c21ee55da.zip |
Merge branch 'nixos-unstable' of https://github.com/NixOS/nixpkgs
Conflicts: nixpkgs/pkgs/applications/window-managers/sway/default.nix nixpkgs/pkgs/build-support/go/module.nix nixpkgs/pkgs/build-support/rust/build-rust-package/default.nix nixpkgs/pkgs/development/libraries/mesa/default.nix nixpkgs/pkgs/servers/dict/dictd-db.nix Link: https://gitlab.freedesktop.org/xkeyboard-config/xkeyboard-config/-/issues/391
Diffstat (limited to 'nixpkgs/pkgs/top-level/perl-packages.nix')
-rw-r--r-- | nixpkgs/pkgs/top-level/perl-packages.nix | 289 |
1 files changed, 259 insertions, 30 deletions
diff --git a/nixpkgs/pkgs/top-level/perl-packages.nix b/nixpkgs/pkgs/top-level/perl-packages.nix index 6c8d41a7291a..6593ec1b4882 100644 --- a/nixpkgs/pkgs/top-level/perl-packages.nix +++ b/nixpkgs/pkgs/top-level/perl-packages.nix @@ -160,6 +160,21 @@ with self; { }; }; + AlgorithmBackoff = buildPerlPackage { + pname = "Algorithm-Backoff"; + version = "0.009"; + src = fetchurl { + url = "mirror://cpan/authors/id/P/PE/PERLANCAR/Algorithm-Backoff-0.009.tar.gz"; + sha256 = "9f0ffcdf1e65a88022d6412f46ad977ede5a7b64be663009d13948fe8c9d180b"; + }; + buildInputs = [ TestException TestNumberDelta ]; + meta = { + homepage = "https://metacpan.org/release/Algorithm-Backoff"; + description = "Various backoff strategies for retry"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + }; + }; + AlgorithmC3 = buildPerlPackage { pname = "Algorithm-C3"; version = "0.11"; @@ -847,15 +862,22 @@ with self; { AppMusicChordPro = buildPerlPackage { pname = "App-Music-ChordPro"; - version = "0.977"; + version = "6.010"; src = fetchurl { - url = "mirror://cpan/authors/id/J/JV/JV/App-Music-ChordPro-0.977.tar.gz"; - hash = "sha256-EPOVabK2KSct2zQIUxdb0E3YTHEHLOqzcSW2xga58T0="; + url = "mirror://cpan/authors/id/J/JV/JV/App-Music-ChordPro-6.010.tar.gz"; + hash = "sha256-SqTkbR2bWIMcU5gSRf2WW6s1ckHtJVPkxj/bBO9X4kM="; }; buildInputs = [ PodParser ]; - propagatedBuildInputs = [ AppPackager FileLoadLines IOString ImageInfo PDFAPI2 StringInterpolateNamed TextLayout ] + propagatedBuildInputs = [ AppPackager FileLoadLines FileHomeDir IOString ImageInfo PDFAPI2 StringInterpolateNamed TextLayout ] ++ lib.optionals (!stdenv.isDarwin) [ Wx ]; nativeBuildInputs = lib.optional stdenv.isDarwin shortenPerlShebang; + + # Delete tests that fail when version env var is set, see + # https://github.com/ChordPro/chordpro/issues/293 + patchPhase = '' + rm t/320_subst.t t/321_subst.t t/322_subst.t + ''; + postInstall = lib.optionalString stdenv.isDarwin '' shortenPerlShebang $out/bin/chordpro rm $out/bin/wxchordpro # Wx not supported on darwin @@ -3519,6 +3541,22 @@ with self; { }; }; + ClassRefresh = buildPerlPackage { + pname = "Class-Refresh"; + version = "0.07"; + src = fetchurl { + url = "mirror://cpan/authors/id/D/DO/DOY/Class-Refresh-0.07.tar.gz"; + hash = "sha256-47ADU1XLs1oq7j8iNojVeJRqenxXCs05iyjN2x/UvrM="; + }; + buildInputs = [ TestFatal TestRequires ]; + propagatedBuildInputs = [ ClassLoad ClassUnload DevelOverrideGlobalRequire TryTiny ]; + meta = { + homepage = "http://metacpan.org/release/Class-Refresh"; + description = "Refresh your classes during runtime"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + }; + }; + ClassReturnValue = buildPerlPackage { pname = "Class-ReturnValue"; version = "0.55"; @@ -3863,6 +3901,22 @@ with self; { }; }; + CompilerLexer = buildPerlModule { + pname = "Compiler-Lexer"; + version = "0.23"; + src = fetchurl { + url = "mirror://cpan/authors/id/G/GO/GOCCY/Compiler-Lexer-0.23.tar.gz"; + hash = "sha256-YDHOSv67+k9JKidJSb57gjIxTpECOCjEOOR5gf8Kmds="; + }; + nativeBuildInputs = [ pkgs.ld-is-cc-hook ]; + buildInputs = [ ModuleBuildXSUtil ]; + meta = { + homepage = "https://github.com/goccy/p5-Compiler-Lexer"; + description = "Lexical Analyzer for Perl5"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + }; + }; + CompressBzip2 = buildPerlPackage { pname = "Compress-Bzip2"; version = "2.28"; @@ -6029,6 +6083,9 @@ with self; { url = "mirror://cpan/authors/id/R/RJ/RJBS/Data-UUID-1.226.tar.gz"; hash = "sha256-CT1X/6DUEalLr6+uSVaX2yb1ydAncZj+P3zyviKZZFM="; }; + patches = [ + ../development/perl-modules/Data-UUID-CVE-2013-4184.patch + ]; meta = { description = "Globally/Universally Unique Identifiers (GUIDs/UUIDs)"; license = with lib.licenses; [ bsd0 ]; @@ -7379,6 +7436,20 @@ with self; { }; }; + DevelOverrideGlobalRequire = buildPerlPackage { + pname = "Devel-OverrideGlobalRequire"; + version = "0.001"; + src = fetchurl { + url = "mirror://cpan/authors/id/D/DA/DAGOLDEN/Devel-OverrideGlobalRequire-0.001.tar.gz"; + hash = "sha256-B5GJLeOuKSr0qU44LyHbHuiCEIdQMYUebqgsNBB4Xvk="; + }; + meta = { + homepage = "https://metacpan.org/release/Devel-OverrideGlobalRequire"; + description = "Override CORE::GLOBAL::require safely"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + }; + }; + DevelPartialDump = buildPerlPackage { pname = "Devel-PartialDump"; version = "0.20"; @@ -8557,6 +8628,22 @@ with self; { }; }; + EvalSafe = buildPerlPackage rec { + pname = "Eval-Safe"; + version = "0.02"; + src = fetchurl { + url = "mirror://cpan/authors/id/M/MA/MATHIAS/Eval-Safe/Eval-Safe-${version}.tar.gz"; + hash = "sha256-VaUsIz4troYRP58Zs09hftz8hBb5vs5nEme9GBGxIRE="; + }; + outputs = [ "out" ]; + meta = with lib; { + description = "Simplified safe evaluation of Perl code"; + homepage = "https://github.com/mkende/perl-eval-safe"; + license = licenses.mit; + maintainers = with maintainers; [ figsoda ]; + }; + }; + ExcelWriterXLSX = buildPerlPackage { pname = "Excel-Writer-XLSX"; version = "1.09"; @@ -9444,10 +9531,10 @@ with self; { FileLoadLines = buildPerlPackage { pname = "File-LoadLines"; - version = "1.01"; + version = "1.021"; src = fetchurl { - url = "mirror://cpan/authors/id/J/JV/JV/File-LoadLines-1.01.tar.gz"; - hash = "sha256-boxuaqSffLmY+r+5ZqSZK7DGLxzT49chNaMRVoNGWdE="; + url = "mirror://cpan/authors/id/J/JV/JV/File-LoadLines-1.021.tar.gz"; + hash = "sha256-mOQS98aSYRNPNLh4W926sxVrj0UlU9u1tWytaDuG//A="; }; buildInputs = [ TestException ]; meta = { @@ -9855,17 +9942,18 @@ with self; { }; }; - FinanceQuote = buildPerlPackage { + FinanceQuote = buildPerlPackage rec { pname = "Finance-Quote"; - version = "1.56"; + version = "1.57"; src = fetchurl { - url = "mirror://cpan/authors/id/B/BP/BPSCHUCK/Finance-Quote-1.56.tar.gz"; - hash = "sha256-ER1vBY5kZLdIXAGPidDhiR/OC5aNnG+6G/JU1hLHpKs="; + url = "mirror://cpan/authors/id/B/BP/BPSCHUCK/Finance-Quote-${version}.tar.gz"; + hash = "sha256-dm7dUw+RRp+MGiU6nVs4jX167PTMiihFL0SHASOTQs4="; }; buildInputs = [ DateManip DateRange DateSimple DateTime DateTimeFormatISO8601 StringUtil TestKwalitee TestPerlCritic TestPod TestPodCoverage ]; - propagatedBuildInputs = [ DateTimeFormatStrptime Encode HTMLTableExtract HTMLTokeParserSimple HTMLTree HTMLTreeBuilderXPath HTTPCookies JSON IOCompress LWPProtocolHttps Readonly StringUtil SpreadsheetXLSX TextTemplate TryTiny WebScraper XMLLibXML libwwwperl ]; + propagatedBuildInputs = [ DateManip DateTimeFormatStrptime Encode HTMLTableExtract HTMLTokeParserSimple HTMLTree HTMLTreeBuilderXPath HTTPCookies JSON IOCompress IOString LWPProtocolHttps Readonly StringUtil SpreadsheetXLSX TextTemplate TryTiny WebScraper XMLLibXML libwwwperl ]; meta = { homepage = "https://finance-quote.sourceforge.net/"; + changelog = "https://github.com/finance-quote/finance-quote/releases/tag/v${version}"; description = "Get stock and mutual fund quotes from various exchanges"; license = with lib.licenses; [ gpl2Plus ]; maintainers = with lib.maintainers; [ nevivurn ]; @@ -10905,6 +10993,19 @@ with self; { }; }; + HashSafeKeys = buildPerlPackage { + pname = "Hash-SafeKeys"; + version = "0.04"; + src = fetchurl { + url = "mirror://cpan/authors/id/M/MO/MOB/Hash-SafeKeys-0.04.tar.gz"; + hash = "sha256-pSStO/naZ3wfi+bhWXG3ZXVAj3RJI9onZHro8dPDfMw="; + }; + meta = { + description = "Get hash contents without resetting each iterator"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + }; + }; + HashSharedMem = buildPerlModule { pname = "Hash-SharedMem"; version = "0.005"; @@ -12921,6 +13022,32 @@ with self; { }; }; + LatexIndent = buildPerlPackage rec { + pname = "latexindent.pl"; + version = "3.21"; + + src = fetchFromGitHub { + owner = "cmhughes"; + repo = pname; + rev = "V${version}"; + hash = "sha256-STXHOzsshyN7rc2VtJxxt6La4UPGpRYlMO8TX1Jd7pM="; + }; + + outputs = [ "out" ]; + + propagatedBuildInputs = [ FileHomeDir YAMLTiny ]; + + preBuild = '' + patchShebangs ./latexindent.pl + ''; + + meta = { + description = "Perl script to add indentation to LaTeX files"; + homepage = "https://github.com/cmhughes/latexindent.pl"; + license = lib.licenses.gpl3Plus; + }; + }; + LaTeXML = buildPerlPackage rec { pname = "LaTeXML"; version = "0.8.7"; @@ -14242,6 +14369,28 @@ with self; { }; }; + MailDMARC = buildPerlPackage { + pname = "Mail-DMARC"; + version = "1.20230215"; + src = fetchurl { + url = "mirror://cpan/authors/id/M/MB/MBRADSHAW/Mail-DMARC-1.20230215.tar.gz"; + hash = "sha256-V9z1R1nLkkSOVukUE0D2E0QnTFjZ3WWqkKqczw5+uQM="; + }; + buildInputs = [ ExtUtilsMakeMaker FileShareDirInstall ]; + doCheck = false; # uses actual DNS at runtime + checkInputs = [ XMLSAX XMLValidatorSchema TestException TestFileShareDir TestMore TestOutput ]; + propagatedBuildInputs = [ + ConfigTiny DBDSQLite DBIxSimple EmailMIME EmailSender Encode FileShareDir GetoptLong + IOCompress IO IOSocketSSL NetDNS NetIDNEncode NetIP NetSSLeay RegexpCommon Socket6 + SysSyslog URI XMLLibXML + ]; + meta = { + description = "Perl implementation of DMARC"; + homepage = "https://github.com/msimerson/mail-dmarc"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + }; + }; + MailMaildir = buildPerlPackage { version = "1.0.0"; pname = "Mail-Maildir"; @@ -17333,6 +17482,22 @@ with self; { }; }; + MsgPackRaw = buildPerlPackage rec { + pname = "MsgPack-Raw"; + version = "0.05"; + src = fetchurl { + url = "mirror://cpan/authors/id/J/JA/JACQUESG/MsgPack-Raw-${version}.tar.gz"; + hash = "sha256-hVnitkzZjZmrxmbt8qTIckyVNGEmFq8R9OsLvQ1CLaw="; + }; + checkInputs = [ TestPod TestPodCoverage ]; + meta = with lib; { + description = "Perl bindings to the msgpack C library"; + homepage = "https://github.com/jacquesg/p5-MsgPack-Raw"; + license = with licenses; [ gpl1Plus /* or */ artistic1 ]; + maintainers = with maintainers; [ figsoda ]; + }; + }; + MusicBrainzDiscID = buildPerlPackage { pname = "MusicBrainz-DiscID"; version = "0.06"; @@ -17429,6 +17594,37 @@ with self; { }; }; + NeovimExt = buildPerlPackage rec { + pname = "Neovim-Ext"; + version = "0.06"; + src = fetchurl { + url = "mirror://cpan/authors/id/J/JA/JACQUESG/Neovim-Ext-${version}.tar.gz"; + hash = "sha256-bSzrMGLJZzfbpVbLIEYxMPxABocbJbfE9mzTgZ1FBLg="; + }; + propagatedBuildInputs = [ + ClassAccessor + EvalSafe + IOAsync + MsgPackRaw + ]; + checkInputs = [ + ArchiveZip + FileSlurper + FileWhich + ProcBackground + TestPod + TestPodCoverage + ]; + # TODO: fix tests + doCheck = false; + meta = with lib; { + description = "Perl bindings for Neovim"; + homepage = "https://github.com/jacquesg/p5-Neovim-Ext"; + license = with licenses; [ gpl1Plus /* or */ artistic1 ]; + maintainers = with maintainers; [ figsoda ]; + }; + }; + NetIdent = buildPerlPackage { pname = "Net-Ident"; version = "1.25"; @@ -17987,6 +18183,21 @@ with self; { }; }; + NetLibIDN2 = buildPerlModule { + pname = "Net-LibIDN2"; + version = "1.02"; + src = fetchurl { + url = "mirror://cpan/authors/id/T/TH/THOR/Net-LibIDN2-1.02.tar.gz"; + hash = "sha256-0fMK/GrPplQbAMCafkx059jkuknjJ3wLvEGuNcE5DQc="; + }; + propagatedBuildInputs = [ pkgs.libidn2 ]; + meta = { + description = "Perl bindings for GNU Libidn2"; + homepage = "https://github.com/gnuthor/Net--LibIDN2"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + }; + }; + NetNetmask = buildPerlPackage { pname = "Net-Netmask"; version = "2.0001"; @@ -19244,10 +19455,10 @@ with self; { PDFAPI2 = buildPerlPackage { pname = "PDF-API2"; - version = "2.042"; + version = "2.044"; src = fetchurl { - url = "mirror://cpan/authors/id/S/SS/SSIMMS/PDF-API2-2.042.tar.gz"; - hash = "sha256-q5kpQVAGAdwxoaL65s3hD3VTGogKKjEAyZ1VYKzVPF0="; + url = "mirror://cpan/authors/id/S/SS/SSIMMS/PDF-API2-2.044.tar.gz"; + hash = "sha256-stFVeeQnI9jX+bct6G0NNc3jTx63cTRWuirTX7PL6n4="; }; buildInputs = [ TestException TestMemoryCycle ]; propagatedBuildInputs = [ FontTTF ]; @@ -19562,6 +19773,20 @@ with self; { }; }; + PerlLanguageServer = buildPerlPackage { + pname = "Perl-LanguageServer"; + version = "2.5.0"; + src = fetchurl { + url = "mirror://cpan/authors/id/G/GR/GRICHTER/Perl-LanguageServer-2.5.0.tar.gz"; + hash = "sha256-LQYcIkepqAT1JMkSuIN6mxivz6AZkpShcRsVD1oTmQQ="; + }; + propagatedBuildInputs = [ AnyEvent AnyEventAIO ClassRefresh CompilerLexer Coro DataDump HashSafeKeys IOAIO JSON Moose PadWalker ]; + meta = { + description = "Language Server and Debug Protocol Adapter for Perl"; + license = lib.licenses.artistic2; + }; + }; + perlldap = buildPerlPackage { pname = "perl-ldap"; version = "0.68"; @@ -19858,10 +20083,10 @@ with self; { PLS = buildPerlPackage { pname = "PLS"; - version = "0.897"; + version = "0.905"; src = fetchurl { - url = "mirror://cpan/authors/id/M/MR/MREISNER/PLS-0.897.tar.gz"; - hash = "sha256-3dzDrSbSgjQJ9l2NPKfCc4o4FwPiiSG1Vm8d2aJV6Ag="; + url = "mirror://cpan/authors/id/M/MR/MREISNER/PLS-0.905.tar.gz"; + hash = "sha256-RVW1J5nBZBXDy/5eMB6gLKDrvDQhTH/lLx19ykUwLik="; }; propagatedBuildInputs = [ Future IOAsync PPI PPR PathTiny PerlCritic PerlTidy PodMarkdown URI ]; nativeBuildInputs = lib.optional stdenv.isDarwin shortenPerlShebang; @@ -22133,10 +22358,10 @@ with self; { StringInterpolateNamed = buildPerlPackage { pname = "String-Interpolate-Named"; - version = "1.00"; + version = "1.03"; src = fetchurl { - url = "mirror://cpan/authors/id/J/JV/JV/String-Interpolate-Named-1.00.tar.gz"; - hash = "sha256-cnKZ+mkli2BHcOBZ7E2pBr/ecYYf3R4+ieMGdzccWoA="; + url = "mirror://cpan/authors/id/J/JV/JV/String-Interpolate-Named-1.03.tar.gz"; + hash = "sha256-on13VgcnX2jtkqQT85SsAJLn3hzZPWJHnUf7pwF6Jtw="; }; meta = { description = "Interpolated named arguments in string"; @@ -22784,12 +23009,12 @@ with self; { SysVirt = buildPerlModule rec { pname = "Sys-Virt"; - version = "9.0.0"; + version = "9.4.0"; src = fetchFromGitLab { owner = "libvirt"; repo = "libvirt-perl"; rev = "v${version}"; - hash = "sha256-QiaB272kxs/Y3/l8KbFy8f9iyOCxhzfA/h2FnfGzmE4="; + hash = "sha256-3ER6kcUfNM5ULhN/MlOil4Rx3O84fLnIvH+Cb/oXTFM="; }; nativeBuildInputs = [ pkgs.pkg-config ]; buildInputs = [ pkgs.libvirt CPANChanges TestPod TestPodCoverage XMLXPath ]; @@ -25403,12 +25628,12 @@ with self; { TextLayout = buildPerlPackage { pname = "Text-Layout"; - version = "0.019"; + version = "0.031"; src = fetchurl { - url = "mirror://cpan/authors/id/J/JV/JV/Text-Layout-0.019.tar.gz"; - hash = "sha256-oEPyqJ4ROynFI6nvpx+oOY7XXt1IIZOQGzjQjdSkEI4="; + url = "mirror://cpan/authors/id/J/JV/JV/Text-Layout-0.031.tar.gz"; + hash = "sha256-EQ4ObbzKIFhKcckNpxBYAdRrXXYd+QmsTfYQbDM3B34="; }; - buildInputs = [ PDFAPI2 ]; + buildInputs = [ IOString PDFAPI2 ]; meta = { description = "Pango style markup formatting"; license = with lib.licenses; [ artistic1 gpl1Plus ]; @@ -27387,14 +27612,18 @@ with self; { XMLLibXML = buildPerlPackage { pname = "XML-LibXML"; - version = "2.0207"; + version = "2.0208"; src = fetchurl { - url = "mirror://cpan/authors/id/S/SH/SHLOMIF/XML-LibXML-2.0207.tar.gz"; - hash = "sha256-kDQ2yYWYdb71WTJDquhc7TKa0PtLV7v0WXXjJUfFDBU="; + url = "mirror://cpan/authors/id/S/SH/SHLOMIF/XML-LibXML-2.0208.tar.gz"; + hash = "sha256-DABrA7+NDrUx+1a9o64VdUylbYiN17noBauesZ1f1lM="; }; SKIP_SAX_INSTALL = 1; buildInputs = [ AlienBuild AlienLibxml2 ] ++ lib.optionals stdenv.isDarwin (with pkgs; [ libiconv zlib ]); + # Remove test that fails after LibXML 2.11 upgrade + postPatch = '' + rm t/35huge_mode.t + ''; propagatedBuildInputs = [ XMLSAX ]; meta = { description = "Perl Binding for libxml2"; |