From c4dab4b230907dfc2f2f4df51d66037318588032 Mon Sep 17 00:00:00 2001 From: Anthony Roussel Date: Sun, 29 Oct 2023 22:13:47 +0100 Subject: [PATCH] perlPackages.XMLEntities: init at 1.0002 https://metacpan.org/pod/XML::Entities --- pkgs/top-level/perl-packages.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/pkgs/top-level/perl-packages.nix b/pkgs/top-level/perl-packages.nix index 3051a19010b1..3952e67501ed 100644 --- a/pkgs/top-level/perl-packages.nix +++ b/pkgs/top-level/perl-packages.nix @@ -28093,6 +28093,24 @@ with self; { }; }; + XMLEntities = buildPerlPackage { + pname = "XML-Entities"; + version = "1.0002"; + src = fetchurl { + url = "mirror://cpan/authors/id/S/SI/SIXTEASE/XML-Entities-1.0002.tar.gz"; + hash = "sha256-wyqk8wlXPXZIqy5Bb2K2sgZS8q2c/T7sgv1REB/nMQ0="; + }; + nativeBuildInputs = lib.optional stdenv.isDarwin shortenPerlShebang; + propagatedBuildInputs = [ LWP ]; + postInstall = lib.optionalString stdenv.isDarwin '' + shortenPerlShebang $out/bin/download-entities.pl + ''; + meta = { + description = "Mapping of XML entities to Unicode"; + license = with lib.licenses; [ artistic1 gpl1Plus ]; + }; + }; + XMLDOM = buildPerlPackage { pname = "XML-DOM"; version = "1.46";