2021-04-26 12:26:08 +01:00
|
|
|
{ lib, fetchurl }:
|
|
|
|
|
|
|
|
let
|
2021-12-20 22:41:32 +00:00
|
|
|
version = "14.000";
|
2021-04-26 12:26:08 +01:00
|
|
|
in fetchurl {
|
|
|
|
name = "last-resort-${version}";
|
|
|
|
|
|
|
|
url = "https://github.com/unicode-org/last-resort-font/releases/download/${version}/LastResortHE-Regular.ttf";
|
|
|
|
downloadToTemp = true;
|
|
|
|
|
|
|
|
postFetch = ''
|
|
|
|
install -D -m 0644 $downloadedFile $out/share/fonts/truetype/LastResortHE-Regular.ttf
|
|
|
|
'';
|
|
|
|
|
|
|
|
recursiveHash = true;
|
2021-12-20 22:41:32 +00:00
|
|
|
sha256 = "sha256-rb69V4oExSFx4GpedpyVvGuS6o+MxmxTCSZhoe9kUhI=";
|
2021-04-26 12:26:08 +01:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Fallback font of last resort";
|
|
|
|
homepage = "https://github.com/unicode-org/last-resort-font";
|
|
|
|
license = licenses.ofl;
|
|
|
|
maintainers = with maintainers; [ V ];
|
|
|
|
};
|
|
|
|
}
|