2022-10-30 15:09:59 +00:00
|
|
|
{ lib
|
|
|
|
, fetchzip
|
|
|
|
}:
|
|
|
|
|
|
|
|
fetchzip rec {
|
|
|
|
pname = "hackgen-font";
|
2023-01-11 07:51:40 +00:00
|
|
|
version = "2.8.0";
|
2022-10-30 15:09:59 +00:00
|
|
|
|
|
|
|
url = "https://github.com/yuru7/HackGen/releases/download/v${version}/HackGen_v${version}.zip";
|
2023-01-11 07:51:40 +00:00
|
|
|
sha256 = "sha256-TLqns6ulovHRKoLHxxwKpj6SqfCq5UDVBf7gUASCGK4=";
|
2022-10-30 15:09:59 +00:00
|
|
|
postFetch = ''
|
|
|
|
install -Dm644 $out/*.ttf -t $out/share/fonts/hackgen
|
|
|
|
shopt -s extglob dotglob
|
|
|
|
rm -rf $out/!(share)
|
|
|
|
shopt -u extglob dotglob
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "A composite font of Hack and GenJyuu-Goghic";
|
|
|
|
homepage = "https://github.com/yuru7/HackGen";
|
|
|
|
license = licenses.ofl;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ natsukium ];
|
|
|
|
};
|
|
|
|
}
|