From 1046761a3e6a87ab2a07a64b449a114dba9052ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Mon, 4 Mar 2019 13:04:02 +0100 Subject: [PATCH] biber: 2.11 -> 2.12 Biber 2.12 is for biblatex 3.12. --- pkgs/tools/typesetting/biber/default.nix | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/pkgs/tools/typesetting/biber/default.nix b/pkgs/tools/typesetting/biber/default.nix index 123147cb5f1..7348da3c7d6 100644 --- a/pkgs/tools/typesetting/biber/default.nix +++ b/pkgs/tools/typesetting/biber/default.nix @@ -1,17 +1,14 @@ { stdenv, fetchFromGitHub, perlPackages }: -# builds but doesn't work with perl 5.24, see discussion in #40826 -# TODO: build with perl >=5.26 and try to enable tests - perlPackages.buildPerlModule rec { name = "biber-${version}"; - version = "2.11"; + version = "2.12"; src = fetchFromGitHub { owner = "plk"; repo = "biber"; rev = "v${version}"; - sha256 = "0qgkc1k9n36yfmndwz879pak6mjphld0p85lzn9g2ng0vhxsifzz"; + sha256 = "1g1hi6zvf2hmrjly1sidjaxy5440gfqm4p7p3n7kayshnjsmlskx"; }; buildInputs = with perlPackages; [ @@ -25,8 +22,9 @@ perlPackages.buildPerlModule rec { TestDifferences ]; - # Tests depend on the precise Unicode-Collate version (expects 1.19, but we have 1.25) - doCheck = false; + checkInputs = with perlPackages; [ + UnicodeCollate + ]; meta = with stdenv.lib; { description = "Backend for BibLaTeX";