Update blobmoji to 15

This commit is contained in:
Natsu Kagami 2023-03-31 16:48:43 +02:00
parent 6950c8c4ec
commit e1b60f6145
Signed by: nki
GPG key ID: 7306B3D3C3AD6E51

View file

@ -1,6 +1,24 @@
{ pkgs, lib, config, ... }:
with lib;
let
noto-fonts-emoji-blob-bin =
let
pname = "noto-fonts-emoji-blob-bin";
version = "15.0";
in
pkgs.fetchurl {
name = "${pname}-${version}";
url = "https://github.com/C1710/blobmoji/releases/download/v${version}/Blobmoji.ttf";
sha256 = "sha256-n5yVk2w9x7UVrMe0Ho6nwu1Z9E/ktjo1UHdHKStoJWc=";
downloadToTemp = true;
recursiveHash = true;
postFetch = ''
install -Dm 444 $downloadedFile $out/share/fonts/blobmoji/Blobmoji.ttf
'';
};
in
{
# Fonts
config.fonts = {
@ -27,3 +45,4 @@ with lib;
fontDir.enable = true;
} else { });
}