From b5f4b26cdad19eb7e0b7d0f224f75456ea8edea8 Mon Sep 17 00:00:00 2001 From: Marcus Ramberg Date: Fri, 2 Aug 2024 21:44:26 +0200 Subject: [PATCH] perlPackages.po4a: 0.71 -> 0.73 --- pkgs/development/perl-modules/Po4a/default.nix | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/pkgs/development/perl-modules/Po4a/default.nix b/pkgs/development/perl-modules/Po4a/default.nix index f15697fbf379..dee562e6820c 100644 --- a/pkgs/development/perl-modules/Po4a/default.nix +++ b/pkgs/development/perl-modules/Po4a/default.nix @@ -10,6 +10,7 @@ , docbook_sgml_dtd_41 , opensp , bash +, fetchpatch , perl , buildPerlPackage , ModuleBuild @@ -25,11 +26,11 @@ buildPerlPackage rec { pname = "po4a"; - version = "0.71"; + version = "0.73"; src = fetchurl { url = "https://github.com/mquinson/po4a/releases/download/v${version}/po4a-${version}.tar.gz"; - hash = "sha256-xXJAHknMEXV8bTBgkW/ftagzJR7R1K65ibZnBLzyg/k="; + hash = "sha256-bxj4LYyyo3c5QTfqOWzD6BldbNbkVP4CGKoPDjYDjqA="; }; strictDeps = true; @@ -55,6 +56,13 @@ buildPerlPackage rec { kpsewhich-stub glibcLocales ]; + patches = [ + # Needs a patch for 5.40 until the next release + (fetchpatch { + url = "https://github.com/mquinson/po4a/commit/28fe52651eb8096d97d6bd3a97b3168522ba5306.patch"; + hash = "sha256-QUXxkSzcnwRvU+2y2KoBXmtfE8qTZ2BV0StkJHqZehQ="; + }) + ]; # TODO: TermReadKey was temporarily removed from propagatedBuildInputs to unfreeze the build propagatedBuildInputs = lib.optionals (!stdenv.hostPlatform.isMusl) [