mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 13:10:33 +00:00
57ced14370
The website generates a ZIP archive with fresh TTF files for each download, which will have different “modified” field in the TTF metadata each time. This makes `requireFile` useless as the ZIP file will not have a static hash. Instead, let’s make user accept the license in Nix and download the file for them. Then, we can post-process it and hopefully achieve a somewhat fixed output. This is still not really reproducible since: - the font can be updated (last update in 2015) - the fonttools used by the server can be updated to one producing a different output - the fonttools used by this package can be updated - the fonttools might actually be non-deterministic But hopefully these events are rare so it will be more stable than the ZIP produced by upstream, which changes every time. When that happens, we can always just update it like we did before. We do not need to worry about cache since the package is unfree. I also added myself as a maintainer. |
||
---|---|---|
.. | ||
default.nix |