2 This package, `biber-for-tectonic`, provides a compatible version of `biber`
3 as an optional runtime dependency of `tectonic`.
5 The development of tectonic is slowing down recently, such that its `biber`
6 dependency has been lagging behind the one in the nixpkgs `texlive` bundle.
9 https://github.com/tectonic-typesetting/tectonic/discussions/1122
11 It is now feasible to track the biber dependency in nixpkgs, as the
12 version bump is not very frequent, and it would provide a more complete
13 user experience of tectonic in nixpkgs.
28 It is necessary to first override the `version` data here, which is
29 passed to `buildPerlModule`, and then to `mkDerivation`.
31 If we simply do `biber.overrideAttrs` the resulting package `name`
32 would be incorrect, since it has already been preprocessed by
35 texlive.pkgs.biber.texsource = {
37 inherit (biber) pname meta;
41 src = fetchFromGitHub {
45 hash = "sha256-Tt2sN2b2NGxcWyZDj5uXNGC8phJwFRiyH72n3yhFCi0=";
48 # Perl>=5.36.0 compatibility
50 url = "https://patch-diff.githubusercontent.com/raw/plk/biber/pull/411.patch";
51 hash = "sha256-osgldRVfe3jnMSOMnAMQSB0Ymc1s7J6KtM2ig3c93SE=";
54 meta = prevAttrs.meta // {
55 maintainers = with lib.maintainers; [